The most common causes for your problem could be
and other sexually transmitted diseases
Or sometimes even sperm allergy
You need a physical examination by a Gynecologist and certain investigations to arrive at the diagnosis.
Once diagnosis is made,ytratment can be instituted.