Please follow http://www.irs.gov/taxtopics/tc423.html.