To change your controller's button assignments on the PS5, open the system settings by selecting the gear-shaped icon on the top ... the inputs for the Create (Share) button, the Options button ...