Glad to hear things are feeling better! I read this post and thought "Wow, how dangerous and stupid!" But then I remembered that back years ago when I first discovered MDMA, I did it 5 out of 7 nights in one week (this was looong before I discovered Bluelight!). A lot of us make bad choices when we are unaware of the potential consequences, or when we're starting out. It happens. Glad you both survived it anyway
For the future, somebody did already list the guidelines that are commonly accepted by the majority of Bluelight-users to maximize the fun and safety of using MDMA: Do not take more than a couple in a night (although because quality varies, it's hard to know how much you're actually getting per dose...generally 2-3 pills in a night seems to be the maximum you want to take), and give yourself about a month or more for a break between each time you roll, and do not roll on consecutive nights. If you are dancing while high, drink extra fluids (Powerade or other sports drinks can be especially helpful because they replace electrolytes lost to sweat when you dance), if you're not dancing, drink the same amount of fluids you would when sober. MDMA does NOT dehydrate you, dancing does, and it is easy to become dehydrated while dancing but it is also possible to develop water intoxication from drinking insane amounts of water- more than a liter per hour I believe, though it depends on your weight- which throws off your electrolyte balance and can be fatal.
Plan so that the next day, you can eat light and healthy foods (fruit, veggies especially...I'm partial to heavy meals like daal or chana masala but that's just me!). Sleep well if possible. Drive as little as possible the next day, and I like to spend it in a nice place with friends so I can enjoy the afterglow, rather than alone or in an uncomfortable place that results in more of a hangover feeling.
And of course, NEVER DO THAT AGAIN! You very likely know that already, but I thought it should be repeated. Never, ever again. Spend some time going through Bluelight and learn more about taking MDMA as safely as you can

Take at least two or three months off of MDMA now to allow your body ample time to recover and become normal again.