What do you do when a car under warranty keeps requiring repairs?

Hey everyone, I’m not really sure what to do. My husband just got a 2021 Dodge Durango we’ve had it less than a month and it’s already had to be serviced twice (still under warranty). Last time was 2 weeks ago they replaced some electronic part and it ran fine until yesterday. My husband went to work and the check engine light was on a prompt to check the shifter was also on. He took it to Dodge today and their diagnostic was showing over 20 codes. All the fluids are new and it isn’t driven around like a beater. He uses it for work and we’ve taken it grocery shopping twice.

What do you do when a car under warranty keeps requiring repairs?
Post Opinion