There are rules you have to follow to get out of paying taxes.