When I was with my girlfriend I had realised  that when I have a erection I can't pull back my foreskin yet when I don't I can and then I get an erection and it just hurts but o can still pull it back over 

what should I do?