Frequency of pumping depends on the capacity of the tank and the number of people in the house. If your house has a standard 1,250-gallon tank and you have 3 to 4 people, the tank must be pumped every 2 to 3 years.
Note: if a you use a garbage disposal, it's like adding another person to the equation and accelerates the buildup of sludge.