Chosen Solution

I noticed that my right speakers weren’t working so I went to sound in system preference and then balanced my speaker all the way to the right but I was getting audio output from my left speaker which is weird.

Very weird for sure! Did you get your system wet? Sadly, this sounds like you have a chip failure in the amp logic. I would visit Apple to see if you can get your logic board swapped out as this logic is part of the M1 SoC. Before you go make a backup as they won’t transfer your stuff over.