Bad ignition switch. Get it replaced ASAP. It's very dangerous as the car could turn off while driving.