I am sorry you have not mentioned your gender. The causes are different in both genders.
Pelvic inflammatory disease
is common in women, while epididymitis
or balanophthitis is common in men.
of the abdomen will help in confirming the cause and treat can be planned accordingly.
Hope this helps.