Make sure you have the right fuse in there, man. It shouldn't be over heating like that. It's possible that there was a short in the wiring, and the previous owner got sick of replacing fuses and just through a stronger fuse in place.

Just be glad it was your light that burned up and not your entire car. You might wanna check all of your wiring before you do anything else. Better safe than sorry.