Smoking and alcohol consumption are more likely to trigger the problem of heartburn.