Hello,
As a first step, I would recommend to repair Windows' component store, then do a clean reinstall of Paint.
Run an elevated Windows Terminal or PowerShell as Administrator and run these commands exactly, one line at a time:
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
Restart Windows. After the restart, remove the current Paint package and its registration, still from an elevated PowerShell:
Get-AppxPackage Microsoft.Paint -AllUsers | Remove-AppxPackage
Reinstall Paint from Microsoft Store. The fastest way is Win+R, then enter:
ms-windows-store://pdp/?ProductId=9PCFS5B6T72H
Press Enter, click Get or Install, then launch Paint and test. If Paint still closes after a few seconds, run the Store reset once:
wsreset -i
Restart again and try Paint. Tell me how far you get and what happens after each step.