Avoiding spicy or acidic foods, caffeine, and alcohol may help reduce symptoms of a hiatal hernia, such as heartburn.