can you be allergic to certain sperm?

I was wondering this because whenever my ex used to cum in me it used to burn so badly that I thought I was allergic to sperm altogether, but my new partner did and my lady bits did not have the same reaction