Burning stomach


I started intermittent fasting and every day, my stomach was just burning intensely. Nothing seemed to help, Tums, etc, etc. Went back to eating breakfast, lunch, dinner, burning stomach pain went away. Thoughts?