How do I keep from leaving a car in idle overnight?

I am new to driving. I heard that people accidentally leave a car in idle overnight. They leave a car on battery. I don't know how to tell if the car is fully off or if I turned the key to much the wrong way.
21 answers 21