replacement is easy-
watch how each side came apart(do one side at a time for reference)
Large adjustable wrench and Channelocks.
Bearing race driver tool or various size punches.
Socket and ratchet set or assorted wrenches.
BFH.
Lots of rags.
New wheel bearings.
Wheel bearing grease.
New cotter pin.
New grease seals.
Wheel blocks.
Safety glasses.
A jack and a pair of jack stands.
Rubber gloves (Optional)
you'll need a set of bearings(2 per side, innner/outer and they usually come with new races(the part the bearing rides on) usually about $12 per side ( Timken, TRD, Napa, etc to name a few brands)
You will need to get the old races out by using a brass punch or something similarly soft. There pressed in the rotor assembly. That can be done with a block of wood and hammer (so as to not damage)
you will also need to pack the new bearings liberally with HD wheel bearing grease.
then put all back together, use new cotter pins, adjust down
First remove the bearing cap. This is a press fit and to remove it grab it with your Channelocks and work it back and forth until it pops off. Be careful not to crush it as you remove it.
Once the cap is off you will see a cotter pin, Remove the cotter pin and remove the retainer ring. If your vehicle has a castellated nut, you will not have a retaining ring.
Using your Channelocks or adjustable wrench, remove the nut from the spindle.
Now remove the outer wheel bearing and washer and lay it aside.
Undo the caliper(2 bolts holding it on the rear and hang up with a wire) Slide the rotor off the spindle. This may be difficult, but it will come off. Don't worry about hurting the grease seal; we're going to replace it anyway.
Now that the rotor or drum is off, use a suitable tool to remove the grease seal and take out the inner wheel bearing.
Using some of the rags wipe all the old grease from inside the hub.
Now we need to remove the bearing races from the hub. Take a punch with a flat narrow tip and place it on the back of the race. Most hubs have gaps in them to expose the back of the race to make removal easier. Tap the race out, alternating from side to side so it comes out evenly and doesn't get ****ed in the hub. Once it's out, flip the rotor over and do the same for the other race.
When both races are out, clean the inside of the hub with some rags. Also make sure the spindle is clean as well. You can even use some carburetor cleaner to do a really good job of cleaning. From this point on cleanliness is important. You do not want any dirt, sand or metal chips inside the hub.