Opens Microsoft Store When I Try To Code...

When I try to write some code it will not open visual studio or mono script it ends up opening the microsoft store and try to search for something. Im new to unity and ive tried a few solutions and there not working. i am unable to do anything at this point and i really need help !!!

I am also new to Unity, but have you tried to change the default editor in Unity?

You can go there by clicking Assets > Preferences > External Tools