You can take the BART to/from SFO.
I'd recommend getting off at Embarcadero - you can walk to fisherman's wharf and the In N Out. Or you could go to 16th & Mission, get a burrito and a beer, take the beer to Dolores Park and drink it with the hipters. I wouldn't try to do both.