1:you trained your player too much, let them at least 80% condition before the match.
2: you'll have no way to clear the debt without sell player except use token, try to sell a good price player with very low quality or form and get a 5* Q24 with better stats instead
3: to get more money when you have no debt, go to the tranfer market and search for a free player, sign them and resell.