Every time I select pencil and try to draw it acts as an ERASER and ERASES instead of drawing!!!

I need to get my pencil to work like a NORMAL one. Every time I try to use my pencil or brush it acts as an eraser and starts erasing instead of drawing

Did you recently change your shortcuts?

Go into the preferences of the software and
in the “Drawing Mode” section of the Shortcuts tab
check your shortcuts for the eraser tool and for the
pencil tool.

Also check your tablet driver settings to see how
the pen is configured.