1. If you would have done that, you would not have gotten scolded.
2. "Have did" is never correct. The perfect tense requires the correct tense of the word have plus the past participle of the verb. It would be has done or have done. Has seen not has saw. Careful, though, many English verbs have the same form in the simple past and the past participle:
I walk to school every day. (present)
I walked to school yesterday. (simple past)
I have walked to school every day of my life. (present perfect)
I had walked to school by myself until I was robbed. (past perfect)
If you would have seen the mistake previously, you would not be suffering now.
Would have goes with an action verb:
I would have written if I knew you were alive.
Would have been acts as a linking verb:
I would have been happy if I had known you were alive.