How to avoid a debt trap?

In the current day and age, credit is available at the tap of a button. It is very important to ensure that we avoid a debt trap. Once we fall into the debt trap,...