Do not look up to the top of the hill. Look at the road right in front of your tire. Looking up just brings your mind into the equation, and the results will be that the hill defeats you.
Attack the bottom of the hill with as much speed and momentum as you can, then work your way through your gears as you loose momentum. Wait till your 80% up the hill before you stand on the pedals (if you choose to).