You'll need a bearing press of some sorts. Unfortunately doing wheel bearings on these cars is not fun. Others may have some more direct hand experience they can share with you.
Do you have new seals? More than likely you'll damage the old seals when you remove the wheel bearing.
Double check when you install the new seals that they fit tight in the housing. I've had problems with non oem seals sliding in with just my fingers. Those will allow water and debre in and destroy the new bearing. Oem seals are more money but is cheaper than doing it twice.
Charles
90' White/Gray Outback DD workhorse (670,xxx) miles
92' Onyx Metallic (430,xxx) Wife's DD
68' Barracuda formula S 340 4spd coupe (ongoing project)
66' Mustang 2+2 4spd wife's (ongoing project)
2nd that get the oem subaru seals they are worth it.
harbor freight sells a bearing press tool that works really well
you also need to remove the large 'c' clip from the back of the bearing after the seal is removed
Albeit getting new tools is always nice, I've dealt with wheel bearings before (Subies can be tough, trailers and the like can be a lot easier) and so this last go-around I just took the two hubs and bearings and seals to a machine shop and they did them both for aroudn $50 if I recall.
12 Outback 3.6R Limited
94 Leg LS wag AWD, sold
93 Leg L wag FWD, sold
06 LGT 5EAT, project