To remap PS5 controller buttons, go to Settings > Accessibility > Controllers > Custom Button Assignment. Enable custom assignments, select “Customize,” and adjust buttons as desired. Save changes, ...
If your PS5 controller is acting up and needing a replacement, or a deep cleaning, then there is a right way to open it up.