when should i take pregnancy test if my periods are irregular?

Cu
when should i take pregnancy test if my periods are irregular? My period didn't start for three months and I had unprotected sex with my husband on March 22, 2017. When should I check pregnancy test? It says 19-20 day after unprotected sex but it came out negative...
Please, help me
Thank you!