Scared - need advice

Is it possible to get pregnant if the guy I had sex with wore a condom and it never split, and I also took the morning after pill the next day? Freaking out incase I'm pregnant cause he rubbed against me bare and I think some pre-cum got on me but I asked him if the condom split and he said it didn't because all of his cum was at the end I'm just stressed. Should I buy a pregnancy test just incase?