What can I do for heartburn while pregnant?

Struggling today to be mom. 18 weeks with my 3rd and the heart burn is keeping me awake at all hours. I’m tired, irritable, and there’s a mountain of work to be done before work tomorrow. Need some motivation to get moving.