Hello doctor I am an 18 Year old male

Patient: Hello doctor . I am an 18 Year old male . Actually my problem is that my foreskin is intact and i can’t remove my foreskin . Whenever i try it hurts a lot . During erection it almost impossible to remove my foreskin and it hurts a lot . Will i face problem during sex ? If yes then what is the solution ? Will i have to go through any kind of surgery ? Please help :’-(

Symptoms: Nothing

Doctor: