Ovulation testing

When’s the best time to take an ovulation test? I heard to take them twice a day. But what time is best ?