After selling

Over the years my thought process on selling has changed and hopefully matured. I’m curious what you guys do when you sell a stock. Do you immediately invest into something else? Leave it in cash? Do you hold off on selling until you have something you would rather put that money in? The reason I ask is all of a sudden I find myself with WAY too much cash, like 30% as I have gotten out of positions.

Thanks for weighing in.