Early pregnancy testing

So my Fiancé and I had unprotected sex today. Yes we’re kinda trying but we’re also kinda not trying. Anyway my period ended today also and I’m fertile on the 5th. So how long do I have to wait to take a test?