Ovulation

Joy • TTC #
I have irregular periods, my average cycle length is 40 days 😕 when is the right time to start taking ovulation test?? 
Help please 😌