I think I'm pregnant

I've had sex 3 days in a row. The first two days I'm not sure if he came in me but I know for sure 100% today he did. How long should I wait before buying a test?