Before we get started with the steps, first try and reinstall Minecraft to ensure there are no corrupt files causing issues. Make sure you save your worlds properly so you don't lose any progress.
How to install Minecraft on PC from Minecraft.net, Microsoft Store, Xbox app, Game Pass, Mac, Linux, or a prepaid code. Minecraft installs get confusing because Windows, Mac, Linux, Store purchases, ...