There's a lot to switching out that valve that could create a whole world of pain for you if you either miss the step or perform it incorrectly.
First, you need to find your main shutoff or the second you try to remove that valve, you will begin filling your domicile with water at a vigorous rate and you won't be able to stop it until you've found and shut off the main.
Second, that's a PEX line poking out from the wall and it was run like a typical builder-grade no-shits-given without an elbow or transition fitting so any valve you replace that one with will hang the same unless you have the PEX-specific tools necessary to work on PEX line.
I would very strongly suggest that you don't attempt to tackle this on your own and at the very least consult a plumber or handyperson to give you the specifics for your particular need.