Hills require a technique that takes years to aquire---Or lots of hills.
Most people rush at them and by halfway up they are dead. Take it steady and lower the cadence down a bit. I normally ride with a cadence of 90 but on hills lower it to 80. But start at the bottom of the hill in the smallest ring on the front and a sensible rear cog. When it gets hard- change down- harder still and change down again and again- till you run out of gears. Still hard?---Then slow down. Then just before the top when you have no energy left- ride out of the saddle.
Doesn't always work- but keep practicing and it will.
And hills never get easier- they just take less time to climb.
__________________
How long was I in the army? Five foot seven.
Spike Milligan