There's no one right way to get over a hill. However from a training perspective, if I had a 5% mile long hill, I'd do all sorts of things: standing low cadence - high force intervals in the big ring; seated high cadence, low force intervals in my smallest gear; steady power intervals till failure; etc. You could hurt yourself all sorts of ways on a hill like that.