What to do

I'm 17 and I've been seeing this guy for a month, the other day we had sex for the first time and ended up having unprotected sex and he came inside. I've been on the pill continuously for 2 years and have endometriosis, should I be worried about being pregnant?