When do I test?

Chaimae
Hi! If my fertile days were the 18-24 although cm seemed to indicate me ovulatinga day or 2 later and I'm due to start on the 1st when can I test?? BTW my Dr said previously the first, but IDK considering the above info.