First you need to figure out what size you need. Past that the easiest way to judge the quality of a bike is by the components. Odds are you won't find anything good at a thrift store or garage sale but it can happen. Scouring craigslist is probably your best bet.