Diagnose controller stick drift before replacing a gamepad
Compare the resting stick position across games and calibration screens.

Check the raw position
Use the system’s controller calibration screen if it shows the stick position. Move the stick around its edge and release it from several directions. A consistent off-center reading after releasing it is more useful than movement in a single game.
Compare connection and settings
Try a wired connection if the controller supports one. Restore the game’s ordinary dead-zone setting and check a second title. If the stick settles normally in calibration, look for game-specific sensitivity settings.
Decide what to replace
I would use a modest dead-zone adjustment only when it keeps slow movements usable. If the required change makes aiming jerky, check warranty service and availability of compatible repair parts before replacing the full controller.