Don't lie to the police, don't lie under oath, don't lie in court.

Frankly, not lying is a good idea 99.99999% of the time.