Medicaid won't come into play in 2024 due to your income. You'll go on to Healthcare.gov, say you have a qualifying event (loss of job), estimate your income, then you buy coverage and choose whether or not to take the "subsidy", which is really just an advance of a refundable tax credit.
Personally, I never take the "subsidy" up front, I pay the full price on a rewards credit card monthly and depending on how my income falls, I may or may not qualify for any of the tax credits.
In 2025 you can figure out if you want to attempt Medicare or generate just enough taxable income to be in the world of full coverage through the ACA