When should I take the pregnancy test?

My last period started on the 20th of dec and ended on the 27th and it’s now the 23rd of jan, I’m not sure how long my cycle lasts. So I’m not sure when my period was meant to be due and therefore I’m not sure how long I should wait for the test to be 100% effective and accurate pls help xx