Thanks for writing your query.
in right side of abdomen can be due to inflammation in gall bladder ( cholecystitis
This can be due to gall bladder stones, a common cause of cholecystitis. Other causes are gastritis due to increased acid secretion in stomach, hepatitis (inflammation in liver).
You should avoid spicy and oily foods. Taking antacid like Ranitidine
150 mg twice a day or Nexprofast before meals will help in controlling the pain due to inceased acid scretion. You can continue taking it if pain is due to increased secretion or whenever required.
You should get an Ultrasound
of upper abdomen to rule out gall bladder disease
I hope this is helpful to you.