How long till pregnancy test?

maggie
I was stupid and had sex without a condom last night. He didn't even get a chance to pull out and cum because I got scared and got off just in case. How long until I can take a pregnancy test?!😔