Tums for heartburn!

Vanu
I have serious heartburn, and I am 8 weeks pregnant. Can I take tums for heartburn? How often can I take it? Thanks ladies!