I inherited 40k, what now

I got 40k from a fellow family member passing..what should I do with it

Edit.. 44(M) married, we make @150k, debt is minimal, own house, have funds gor emergency, have @200k in 401k and other savings..looking to make this grow and invest this in September after the rate cuts begin...Thank you all with your advice πŸ‘πŸ½πŸ‡ΊπŸ‡ΈπŸ˜Ž