Ouch.. definitely not a good thing to do! Why did you do it 2 times in one day?
The best thing to do for over treated hair is to stop treating it and keep it away from heat, stylers and dryers, and only wash it every few days if you can....every couple if you can't stand it or have a particularly oily scalp. You can get it wet when you shower, just don't shampoo it and "wash" it only with conditioner for dry, over-treated, or damaged hair.
After that comb through it and let it air dry. It should be able to recover in a week or two depending on how bad the damage is. Stylish updos can always hide the flaws while you are waiting it out.