Pain when using condoms

Alright, so one night my SO and me were having sex using a ribbed Trojan condom. We used these a lot when we first started having sex, then stopped using condoms and relied strictly on my bc. No problems until recently. It felt like a sharp sudden pain and it was one of the worst pains ever. Long story short, no condom, no pain. Could I have developed an allergy? Or something else?