get a 3 day visitor pass for the transport system. Costs $22 but a go on the trolleys will set you back $6 - needless to say we hung off a few to get more than our moneys worth!
http://www.sfmta.com/getting-around/transit/fares-passes/visitor-day-passes