Heartburn 😫 tums are NOT working anymore!

When I started getting heartburn’s at night since 16 weeks I would take tums and it would go away instantly. Well now they’re not working anymore 😔 I’m 27 weeks and I can’t sleep this heartburn has my throat on fire! Is there anything else I can take?