Can I test in the evening?

I have irregular cycles, so I don't know when af is due. Can I get an accurate result in tge evening, or do I have to wait until the morning?