Robert is right on the money. Buying a rebuild kit and having it done might wind up being the same or more money in the end.
If you want to fix yours, you will have to disassemble and measure the spindle or the inside diameter of the bearings to determine the kit size. If you are going to rebuild your existing hub, you will need a bearing and race kit or hub rebuild kit as it is called. It comes with the bearings, races, and a back dust cover (seal) if the kit has several seals you must slip each one over the spindle to the back to determine which one fits before pressing into the hub. You will need to have the races pressed out and the new ones pressed in. Something to watch for if you go the rebuild route is to make sure the inner and outer bearings are the same size. If you buy the rebuild kit, you can bring the old hub and kit to any mechanic to have it done as long as they have a press, which most do. I don't have a tractor supply nor northern tools near by so I rebuilt mine.