Earliest I should do home test??

Gigi
How early before my next period can I do a home test and it would be accurate? I don't have normal cycles so it's hard to even know when my next period will come. Help?