Learn how to prevent and treat heartburn and upset stomach caused by medications like NSAIDs and antibiotics with evidence-based tips on timing, posture, and alternatives.