heartburn

Ka
Is there anything safe I can take for heartburn? I get it every night and it wakes me up while I sleep. I'm 21 weeks.