killer heartburn

What is safe to take for heartburn? It's really horrible right now and I can't stop throwing up and it burns so bad. Please help