This is most commonly caused by chlamydia and is generally a sexually transmitted disease. This can cause a lot of pain and, if not treated, permanent scaring that can lead to infertility
and/or ectopic pregnancy
. See you doc right away if this is you!
Answer assisted by David Miller, Medical Student