Thanks for posting your query at DoctorSpring.com
I am Dr.R.K and I am pleased to assist you.
It looks like you have gastritis either due to the medication you took or due to infection you had.
You can take Prilosec once daily before breakfast for relief.
Since you have cramping also, take Librax twice daily along with Prilosec for good relief.
If symptoms persists, you need to undergo a stool test to see if the infection is still present causing the cramps and also an upper GI endoscopy.
I hope that answers your question.
Please let me know if I can assist you further.