Bankruptcy

Person question. But has anyone filed bankruptcy? I'm wondering how it actually affects your life and if your so far in debt is it really worth it? How long did it take to get your credit and everything back on track after you filed?