Allergies or std?! 😳

2 years ago I let my boyfriend at the time ejaculate inside of me. A couple minutes after I experienced this burning, I went to the bathroom to go check it out and my lady area was swollen and kinda broke out in a hive like rash. After we broke up I let another boyfriend do the same thing, this time it burnt a little and was swollen. After looking at it on the internet I learned about semen allergy.. I don’t know if any other girl has experienced this or not, but I want to know if this really is what it is. This honestly ways my mind, because it’s most commonly misdiagnosed and is really an std