Best time to have sex?

Is it better to have sex in the morning when you first wake up so the sperm can be fresh when TTC? Like when you use morning pee for a more accurate result, or does it even matter?