Rolaids while pregnant?

Courtney
Im 29 weeks tomorrow! Heartburn at bed time is killing me!!! My doctor ok'd tums....rolaids would be okay too right? Anybody else take these?