Hello and welcome to HCM,
Presence of yellow colored discharge, and cramps suggests pelvic inflammatory disease
An examination of the yellow discharge is required.
This test will identify the micro=organism (if any) causing the infection.
Appropriate antibiotics can be given for clearing the infection.
Pelvic inflammatory disease is also associated with cramping sensation.
You need to consult your gynecologist for clinical examination, investigations and appropriate management.
Avoid having intercourse till the time infection clears away.
Treatment of the partner also needs to be done.
Thanks and take care
Dr Shailja P Wahal