they are different way of doing this but the one i know is
1. Open Settings, and click/tap on the System icon.
2. In System settings, click/tap on App & features on the left side.
3. On the right side, click/tap on a Windows app or desktop app that you want to uninstall, and click/tap on the Uninstall button.
4. Click/tap on Uninstall to confirm.
5. If this is a desktop app, then follow the rest of the onscreen instructions for that program's uninstaller. This will vary per program.