There is no clear answer to this question. Unfortunately, if you are behind on your bills, your credit may already be bad. Bankruptcy will probably not make things any worse.
The fact that you’ve filed a bankruptcy can appear on your credit record for ten years. But since bankruptcy wipes out your old debts, you are likely to be in a better position to pay your current bills, and you most likely will be able to get new credit.