Money is primarily independence from one or both of something. Of course a lot of problems can not be solved with money, but most of them if money is solved. You can immediately pay off debts. This is the first thing to do. Invest the money in order to feel confident, too, need.
Yeah if you have any debts then our first priority should be to clear them and the money left in hands can be invested or saved for the future to get better benefits.