Rolaids for heartburn

Can I take rolaids? My heartburns insane right now and it’s all we have. 20 wks