hi...
u need to take some antacids along with the pain killers u ve been prescribed since pain killers(NSAIDs) cause
hyperacidity and harmful for stomach mucosa...jus take
ranitidine with the pain killers once or twice daily...
you should STRICTLY ABSTAIN from alcohol even beer...as it can harm ur stomach and can cause severe acidity reflux....
hope u get well soon