Special dry cat food that's formulated to prevent hairballs is good. I use Purina Indoor Cat Chow. Also brushing and combing daily will help to avoid hair accumulation inside your cat's tummy.