In rare cases a hairball has to be removed surgically. The vast majority can be treated medically with lubricant laxatives.