When can I test?

Leah
I engaged in sexual acts on the night of the 31st of October when is the earliest I can test? I tested on the 22nd of November and got a negative.