I'm assuming you mean wheel bearing housing not carrier.
You remove the WBH from the car (disconnect bottom ball joint, remove suspension strut bolts, drive shaft). Then press out the hub (on a 20 tonne workshop jobby), then remove the retaining circlip, then press out the bearing - it usually disintegrates and leaves the old race on the hub, so you'll have to tap this off.