XH-M562 TPA3116D2

The XH-M562 TPA3116D2 board is not really a good choice for a beginner. This is because it is what I will call a "minimum configuration board". You need to add power rail decoupling, eventually an output filter and a heatsink. And, you need to configure the board for correct operation. If you configure the present board for operation without output filter, you can test it with a 9-12Vdc power supply. It is a board you should leave aside until you know more about such class D amplifiers.
Sorry for the not very encouraging message.