Being in debt obviously means that you have been living beyond your means.
The solution is very simple.
Spend less than you earn and you will get out of debt soon.
You need to change your spending habits.
Then only this simple solution will be achievable.
If you buy things you don't need, you’ll soon sell things you need. Don't save what is left after spending; spend what is left after saving.