Haven't files taxes in a long time? There's no one right answer on how to deal with it-too much depends on the facts and circumstances of your situation. But, if you are worried about going to jail, you probably don't need to worry too much.
This is a well-written article on making a "domestic voluntary disclosure" to get back on track.