Should I get this checked out??

Okay so today me and my girlfriend went to have sex raw for the first time. Now some things about me I am not circumcised and me and my girlfriend had sex with a condom on the other day and it hurt for a bit but it was fine and I was able to keep going. Anyways today when we went to do it raw, my foreskin got pulled back as I was trying to put it in and I felt the worst pain ever. I kept trying to put it back in but I could not stand that pain. Me and my girlfriend had to stop and she said I should go to the doctors and they can give me cream or something. Is that something I should do. What do you guys think? Thank you for taking your time to read this and help me. It is very appreciated.