I’m sorry you did this. Someday, you’ll be sorry you did this. Historically speaking, there is a correction every year. Corrections last on average no more than 54 days. After a correction, the stock market will go back to rising. Timing the market is near impossible, but leaving the market is just asking to lose money. With some reading and some fear management, you could be extremely successful in the stock market. But you have to learn to buy and hold.
I personally think that all stock advice is bullshit; if anyone had a working strategy, they'd use it and it would get priced into the market, making it worthless for the next guy.
but my favorite investment method is 're-balancing' between non-correlated asset classes. Set X percent of your money in equities and the rest in bond funds, for example, then if stock rises vs bonds, sell stock and buy bond funds until you are back to the same percentage.
The idea here is to force yourself to (slowly) sell into bull markets, and (slowly) buy into bear markets. I think that's the closest you can come to "buy low, sell high"
There are some other considerations such as having non tax-deductible mortgage debt. Should I buy later I can convert that to tax-deductible investment debt.
(I'm not in the USA).
Also had a lot in a single stock which was going a bit risky for me. (Although my greedy side said hold it, it could be worth a lot in the future). If I buy in again, maybe I will go for an Index or portfolio.