I’ve never had issues just replacing with Polaris OEM batteries. They’re more expensive on average than Walmart or autozone, but they typically last several years.
I’m still on my original battery in my ‘24 Xpedition that I bought in July 2023
Charge the battery and load test it first. Then check for charging voltage with everything turned on - should be 14 to 14.8v. Also check for parasitic drains. It is a automotive style battery - it shouldn't fail in 3 yrs. But, stuff happens......