Use the correct tense form:
If I (be) you I would not do that.
If I were you I would not do that.
This sentence is in past simple tense.