It's always best to replace the hub, but at times I have taken a sharp punch and dimpled the hub evenly all around, where the bearing race sits, and then coated with loctite sleeve and bearing retainer. This can work only if the race is only "very" slightly loose, as in that you can spin but not move it sideways in the hub.
Joe