If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Hold the left mouse button to start drawing. Move the mouse to start drawing a line from the car to the parking spot. The start of the line must start at the car. Avoid hitting the edges and other cars! Collect tires on some levels before you park.