I called my friend and he answered the call and then ask me: "Is it emergency? because if not now I'm in a very important meeting. If it is not emergency, I'll call you immediately later." Later he called me and he was sorry about that. I told him "If I were you I would do the same".
Now, someone noted me to say "If I were you I would have done the same". My question if is it correct and if it is not what is the difference between
"If I were you, I would do the same.
"If I were you, I would have done the same"
and why it is correct to use one form and no the other form.