Maalox?

Jessica
Is Maalox ok to take during pregnancy? My heartburn and reflux is out of control tonight and I am going insane and about to rip my esophagus out.