Door switch is most likely broken. depending on what kind of car it is, older cars near the hinge, newer cars its where door closes next to seat. If its broken and stuck open it will do that. Simple and cheap fix. Just test it with your finger see how it feels as opposed to the other one that is not broken.