Debt management

So I have issues with debt. What is my solution especially when I have hard times?