One of these steps should work
How to Fix Microsoft Store Not Opening Issue on Windows 10/11
The Windows Store, now known as the Microsoft Store, is the official digital storefront that comes standard with Windows 10. It offers apps, software, professional and personal devices, resources, and games to download and use on your Windows device.
To access the Microsoft Store, you can use the web version to browse and find the extra items that are exclusive to the web version. You can also browse and install some free apps from the Microsoft Store without signing into Windows 10 with your Microsoft account. Another way is to use the Store web page for Windows apps.
The challenge, however, arises when you need Windows apps that are exclusively available in the Microsoft Store, but the Windows Store won’t open. We’ve put together some handy tips to show you what to do when the Windows Store won’t open.