It's best to check with your Dr before taking anything. It varies on each individual/pregnancy. I had one dr tell me nothing more then tums or gaviscon for heartburn. And on my second pregnancy my dr said low dose Zantac was ok
I was told no tylenol pm as well. Unisom and Benadryl were the only options.
No you can't take it. Tylenol pm if you need rest.