Thanks for your query.Based on the facts that you have posted it appears that you have
developed infection in the pelvis of the abdomen following Hysteroscopy
This does happen once in awhile after any pelvic surgical procedure, and nothing to worry about.
Take some antibiotics and anti inflammatory medication for a week .
Consult your family Physician to get prescription of the drugs.
It should settle down in a week.