When you are parallel parking, it is usually best to:

When parallel parking, turn on your right signal and stop, pulling even with the car in front of where you want to park, then back into the space. Park within 18 inches of the curb or edge of the road. Be sure to center your car in the space to allow surrounding vehicles room to maneuver.
DMV Writen Test