Shower plumbing is complicated and requires expert knowledge to repair and replace.
We suggest you refrain from attempting to replace a shower valve yourself as the process involves many steps, and a professional plumber is best at handling it. Doing plumbing replacements without proper equipment and training can result in more damage.