Rolaids

I’ve been rolaids for the past 4-5 days, and I take like 10 a day. Because of heartburn and well because I like the chalky texture of it ( I have low iron ) is it true that it’s not good to take rolaids during pregnancy? I’m 35 weeks pregnant.