What sort of gears do you have? Shift early into your easiest gear and then try to get into a rhythm and spin up the hill. If you do not have easy enough gears, consider a bigger cassette on back or a smaller chainring in front.

If you need to stop and take a break, try to do so in a place where the road is a little flatter so you can get started again.

Practice good use of your gears and climbing with a comfortable, high cadence. Be patient and don't try to "beat the climb". Slow, steady practice and good technique are important for climbing.