Painful sex

So me and my fwb have had protected and unprotected sex and idk why but sex with a condom really hurts last time I was almost in tears. It's not that I'm dry cause I'm super wet and we tried with extra lube so I dont know why it's so painful. What could cause that/what can I do?