1. If your employer offers a 401(k), 457(b), etc, and they have a contribution match, contribute the minimum to get the full match, since it's basically free money.
2. Pay off debts of over 6% or so APR, which will primarily be credit card debt. Long-term, the market generally exceeds 6%, so debts with APR below this amount aren't quite as much of an issue.
3. Open an IRA or Roth IRA, and work towards maxing it out (the current contribution limit is $6K/year).
4. If your employer offers a 401(k), 457(b), etc, work towards maxing it out (the current contribution limit is $20.5K)
5. Open a regular brokerage account and begin to purchase low-cost index funds. There are several different combinations you could do, but the most common ones are total U.S. stock market funds, S&P 500 funds, total international stock market funds, and bond funds
At some point after step three, start working on other debts. This is a bit more subjective, since debt can be a useful tool, but as long as the APRs don't exceed about 6%, you should come out ahead in the long term.
Also, during the entire process, start building up an emergency fund. Generally, three months is recommended, but you could do more or less depending on your situation. Pick a savings or money market account that gets a good APY, not one of the shitty ones that many banks and credit unions with physical branches offer.
Individual stocks are basically gambling, so you probably shouldn't put any big boy money into them. Same thing with crypto, private equity, etc. I personally limit these to about 15% of what I put aside for investing, but I've done pretty well financially over the past 4-ish years and am less risk-averse than most people.