My Equinox occasionaly does not want to start on 2005 Chevrolet Equinox

When I go to start vehicle it sounds as though the ignition is stuck. I brought it to the nearest Chevy dealership and they advised I needed a new battery. I replaced the battery and in less than 3 days it did it again. I can sometimes go a month or more between problems and then sometimes it could happen everyday for a week straight. Cannot find what the problem is. Thank you.

1 answer
I'm having the same problem with codes popping up now. Ugh it's a mess.help if you have figured this out