Immediately take to your local Apple retailer.
Any battery that explodes is a safety hazard when plugged in. Follow Kappy's direction.
Also bring the power bring to make sure you are using the right one for your machine, or at minimum
read this article to see if you have the right one. If your power is not that reliable, be sure to get a surge protector.