Npm vs yarn? help with warnings during render deploy

System Information
  • Strapi Version: 4.17.1
  • Operating System: windows
  • Database: postgres
  • Node Version: 18.19.0
  • NPM Version: 10.2.3
  • Yarn Version: 1.22.19

I have always used npm and I have a package.lock.json file and a yarn.lock file. I dont understand when to use one over the other and really have not had any issues with them co existing until I started to deploy on render today. I am getting this waring in the deploy logs (along with many other warning, but starting with this one):

warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.

How do I start to resolve? Should I just learn how to use yarn? Can I just delete the package-lock.json? Can I just delete yarn.lock? I really don’t know where to begin with this without breaking everything I have been working on. send help!