TTC: ovulation?

When trying to conceive when is the best time of day to take an ovulation test? Can you ovulate while on your period?