Always remove the positive battery cable before you start working on electrical. That is likely what caused the fire. You also want to wrap any exposed wire with black electrical tape, and be careful pulling on it or you might short something else out. Hope you get it fixed soon. Yes, I agree with everyone else. Please take it to a certified electrical auto mechanic. GL.