Read the articles on Bogleheads.org and the r/personalfinance Reddit wiki on managing windfalls. Do not feel the need to invest this money until you understand your options and have a baseline understanding of your risk tolerance. In middle age I suspect putting it 100% in stocks might exceed your risk tolerance: a balanced portfolio of stock index funds, treasury bonds, I bonds, maybe paying down debts, and maybe liquid cash reserves in FDIC-insured high-yield savings accounts is probably more appropriate.