Pregnancy questions


So, my boyfriend and I were a lil rough today and I’m worried his semen might’ve gotten near my vag. Can I get a pregnancy test the day after sexual contact or do I have to wait a few days? Y’all I know nothing about tests 😪😪 I know I should but,, wasn’t really expecting this ykno