If I'm going along in 3rd gear and come to a hill, I start to increase the force on the pedals to maintain cadence. If it gets too steep for that and I start to lift myself out of the saddle, I'll drop into 2nd and wind my way up the hill. If it's a really steep hill the same thing happens in 2nd gear and I go to 1st gear.