When to test

When is the best time to test? At any time of the day or first thing in the morning??