Heartburn relief?

Hey mamas! I’m 22 weeks pregnant, and I have really bad heartburn. I’ll take two tums and it’ll go away for an hour or two then come back. Is there any other way to relieve it?? You’re only allowed a certain number of tums in an amount of time and I would go over it so sometimes I just stick it out but it’ll keep me up at night :sob: