Thank you for your query.
From your history i believe you have pelvic inflammatory disease
. i will advice you to get a cervical and vaginal smear culture sensitivity and start Intravenous antibiotics accordingly . The pea sized swellings might be unrelated infection which will go away if you apply neosporin
cream. Feel free to contact me directly on http://bit.ly/drsombiswas