Remove the wheel bearing housing by undoing the bottom ball joint, track rod end, driveshaft and suspension strut.
Then use a suitable sized socket and press, push the hub out of the wheel bearing housing. Then you will see both circlips, on either side of the bearing. Using a suitable sized ring, push the bearing out the housing.
Get a bearing kit, so you have all new parts.
Get your new bearing, apply plenty of grease to the bearing outer face and the wheel bearing housing inner face, then insert the far one of the circlips back into place. Line up the bearing and press in into the wheel bearing housing until it makes contact with the circlip. Make sure you press the bearing from the outer rim. Put the second circlip back in, apply grease to the inner bearing faces and hub, then press back in.
Its child play really, should take you about 1hr per side from removal to refit.
As a sidenote, no mechanic in his right mind would hammer a bearing in or out, it would take far longer than just using a press.