If a specific health issue is making your stomach hurt, you’ll need to get treatment for that problem. Your doctor could also suggest lifestyle changes like eating different foods or finding ways to manage stress. Often, a mix of different things helps.