2002 Focus front noise

My Focus with 100,000+ had a noise on front right. The garage said I need new bearings which they replaced for $500. At first the car sounded great. However the sound soon returned. It is not always there–sometimes the car just humms along, but other times I hear the old noise.