I found the problem it was a bad ignition switch