I have decided to go home after overstaying my tourist visa for 3 years. there has been no removal proceedings against me, nor there have been any deportation issued.

What do I do so that I can just go home, Do I just purchase a ticket and depart?

If I do just go home and they realized I have overstayed my visa, what does immigration do to me?

I understand that my going home will void my visa and i will have that ten year bar, but other than that, can i go home without any hocus. Will they just let me pass through, or am i going to go through a lawyer, judge and fingerprinting and all that?

Please advise as I am looking to leave in a week.

Thanks