Yup, you wired something very wrong. I'd turn the car off, disconnect the battery, and triple check your wiring. I'd have someone else do it actually. It's like reading a paper you wrote, you can easily miss the little mistakes where someone else will see them clearly because they have a fresh perspective.