Hello.

No you cant get pregnant in this situation. But its best next time you mess around that you get your boyfriend to wear a condom just incase sperm comes into contact with your vagina. If it does then there is a small risk of pregnancy.