freaking out

i recently had sex with a condom (and i’m on the pill) with a new partner. i know him well but i’m not too sure of his sexual history so obviously i asked if he had ever had an STD. he said of course not and we were drunk and didn’t realize the condom broke until the end. he did not cum in me so i’m not too concerned about that right now but i’m more concerned about getting an STD. how long should i wait to get tested? i’ve been freaking out. also this was on friday