Hi there.
Had the same problem when I was 18. It ended up becoming painful to have sex. I told my mum and went to see the doctor . I was diagnosed with phimosis and tried steroid cream and didn’t work, had surgery to have a circumcision. Was the best decision I’d ever made. As other posters have said it is not the only option and some people can happily have sex without the foreskin coming back. For me it wasn’t so bad the surgery and although had all the usual pains and recovery from surgery within 8 weeks was able to have sex and masturbate without issue.
Talk to a doctor and good luck: it is a really common problem