Test?!?

On depo and don’t have periods anymore, but had sex and condom broke. How long should I wait before I take a home pregnancy test and for it to be accurate?