Hi welcome to Health care magic forum.
Thanks for calling H.C.M.Forum.
You had stomach pain,yellow discharge, since few weeks.today you had pain on lower right side of stomach, and several motions.
Your previous pain could be different, and depends upon the place of the pain. If in the upper abdomen may be gastric irritation due to
peptic ulcer, or irritant foods,
gallbladder or pancreas pain.
If in the middle
kidney pain or upper ureter pain, due to infection or stone in that part,or due to worms in the intestine.
If in the lower part, may be due to lower ureter, or bladder pain due to infection or stone in that part.
Trichomoniasis or bacterial
pelvic infection.
Present pain is different and is due to
gastroenteritis infection, and needs to be treated immediately, other wise you may go into
dehydration.
So i advise you to consult a doctor for diagnosis and treatment, and infusions.
Wishing for a quick and complete recovery.
Best regards.