Ovulation question......

Hoping for baby
So if I have an irregular cycle,never know how long it will be. My period just ended after 4 day period cycle? What cycle day should I start using ovulation test??