If you have long-haired cats or one that malts constantly, it is a good idea to brush them on a regular basis, ideally a daily grooming session depending on how severe the shedding is. If your cat is short-haired, brushing your cat once a week would suffice for hairball prevention. If your cat is prone to developing hairballs, some pet food manufacturers have developed hairball control food that helps them to pass ingested hair. Or if their tendency to hack up hairballs isn't controlled using special cat food, you may want to consider hairball treats for cats or other cat hairball treatment. These foods, treats, and supplements often yield great results but containing vitamins, oils, and minerals that improve the condition of your cat's fur, helping it to shed less.
If you continue to use hairball preventing foods and supplements on a regular basis, as recommended, you will find that the issue of hairballs will come up far less, if at all. The use of fiber in these foods also helps to 'sweep' the excess fur out of the body via the digestive tract.