Are you saying that occasionally you will bump or barely touch the touchpad and it will think you wanted to click? I.e. the feature of the touchpad that allows you to tap it so that it is the same as if you had clicked on the left mouse button?
If so, then you can use Fn+F9 to temporarly disable the touchpad. Or go into control panel, open the mouse properties. Then under touchpad look for:
Disable tapping
Disable tapping while typing
Change the touchpad sensitivity
Palmcheck
Depending on your software you may have one or more of these options to deal with this.
Or learn not to brush the palm of your hand on the touchpad while typing.
This signature left intentionally blank.