This can happen for two reasons:
The driver is not installed or not working correctly
Mouse mode is enabled in the driver.
Open the Wacom Tablet Properties app
In Tool, select your pen
Look inside the Mapping tab
Set Mode to Pen.
Open the HuionTablet app
Look inside Digital Pen > Press Key
Uncheck Mouse Mode.
Uncheck Game mode.