Sexless and frustrated

My boyfriend and I have had a healthy sex life. Recently Everytime we have sex, he says his penis is sore and raw for a couple days after and we cannot figure out how to fix the issue. We have tried lube but that doesn’t help. Any ideas?