Battery draining fast

Removed regulator and it was burnt ,so I replaced it and it burnt too so maybe the blue wire has short or bad ignition ? I already cleaned up the wires from radio . Pete how can I test the ignition switch .