Is it possible for the program to only register my pen?

So, I use a little pen for drawing on here, and I also use a touch-screen. When I draw, I’m usually smudging my hand onto the screen. Sometimes, little dots and streaks appear because it registers my hand as a “pen”. Is there a way to change the settings so that it ONLY registers the pen? Like, enabling a pen mode?