Hi.. Heart burn is not related to pregnancy.. Hence are caused by the same factors. the factors include stress, irregular dietary habits, recurrent vomiting, iron capsule drugs, inadequate sleep and many other factors.. Change of the lifestyle with regular diet habits are needed to prevent these... You can use antacid syrups for symptomatic relief... Discuss with your doctors before starting any pill by yourself...