Question about Financing

I just bought a 2025 Mazda Cx50 last weekend and am wondering what's the best way to pay off loan amount without ruining your credit score. I have heard paying off right away is the way to do it because your score is already screwed from the loan application/credit check.

I've also heard paying it off after 30 or 90 days has minimal affect on your score. Just looking for the best option for minimal impact.