Prescription Zantac?

I really didn’t want to take meds during my pregnancy and I didn’t with my first- but my heartburn has been uncontrollable. Dr prescribed Zantac prescription- I have been taking it for a week once a day at night. It seems to help... anyone else on this?!