First time.. Should I worry about being pregnant!

Me and my boyfriend had our first time yesterday... Was painful for me and after 15 minutes I stopped from it hurting so much he was wearing a condom do I need to worry about being pregnant?