If I were you, I would tell him the truth.
This is a type 2 conditional sentence. The structure is: If + past simple, would + infinitive.