You need to consider first how much you can afford to spend on renting and whether you need to live close to your work. The most expensive neighborhoods in SF are Presidio Heights, Haight-Ashbury, and Marina, Pcific Heights etc.