Can I just take a loan out to cover my debts?

Can I just take a loan out to cover my debts? "we have actually student loan debt and have racked up about $6,000 in credit debt throughout the last 36 months. I'm thinking of taking right out a personal bank loan. Is it the absolute most…