I remember having terrible reflux and wanting to take something immediately. My gynac prescribed a safe medicine that helped instantly. Don't suffer in silence, just call your clinic and they will suggest the right one.
Honestly, heartburn is the worst, especially when you crave spicy food! But please don't take any over-the-counter PPIs on your own. Ask your doctor for a safe prescription, and meanwhile try cold milk or small meals to soothe it.
Instead of popping pills, I used to have a glass of cold milk or a bit of fennel seeds after meals. If your acidity is too severe and you need a PPI, please get it prescribed by your doctor. It's safer for the baby and your budget.
Acidity in the 3rd trimester is next level, I feel like a fire-breathing dragon! My doctor gave me a specific safe tablet for it because self-medicating is a big no-no right now. Do consult your gynac, they know what works best.
For acidity issues, please don't take any random PPI without asking your doctor. Since I had thyroid issues, I was very careful with my daily medicines and always asked my gynac first. They can suggest the safest brand for pregnancy.