Heartburn: OTC pepcid or similar. Not on hand or too much of a hassle to go out to get it, try ginger ale but it has to be flat.
Back pain: take advil or some non-aspirin pain reliever. While waiting for that to kick in, cold compresses or cold shower. Then go to bed with a heating pad.
If...