I got this Fender Eighty-Five amp which used to belong to a friend of my brothers when he left at my house becuase it didn't work but I tried it and it works great except the loud popping sounds coming from it at random times, I have know Idea how to fix it,

I think it has to do with the speaker, and I'm thinking about replacing it

What else could the problem be?