Dear Alyshagaspar123, Hello.
Heart burn is mainly due to acid reflux
which is due to number of causes, Hiatus hernia
being one. First of all you should take some precautions in your diet like:-
1. Don't remain empty stomach for long
2. Drink plenty of water
3. Avoid spicy food
4. Taking curd after your meals will help you a little
5. Avoid oil rich food
Coming to the medicine aspect, you can take Ranitidine
(Zantac) in combination with Domperidone
Hope this will be helpful to you.Thanks.