Some foods, stress and various problems can cause heartburn.