Trust (USB) keyboard and mouse

So here is my problem… about one week ago, I bought this trust keyboard and mouse (USB). My other keyboard was really old, but it still worked (not properly). After a few days, I started to have problems with my new keyboard. But the new mouse is all fine! My keyboard stops working sometimes, or spontaneously opens my music player. While I was chatting, it stopped working at all. I restarted my computer, yet, it didn’t work. I used my old keyboard (which is on a cable), but this one doesn’t work either! What did I do, and what is wrong with my computer? How can I make my keyboard work again?

Hi and Welcome!

if possible, please try the keyboard with another computer. If there are the same issues, then it’s probably defective.
If this is a wireless keyboard, you might also check the batteries.