heartburn!!!

Sarah
Been trying to sleep but heartburn is so bad I can't nod off. Any good remedies to get rid of it or are there any meds I can take. I'm currently trying to sleep sat up in a chair.