Try with an external point device (USB or Bluetooth)
Has the Mac gotten wet?
Is the battery swollen? If so it can put force on the trackpad causing problems like you are seeing.
- Try resetting the SMC and NVRAM/PRAM
Intel-based Macs: Resetting the System Management Controller (SMC)
https://support.apple.com/en-us/HT201295
About NVRAM and PRAM
https://support.apple.com/en-us/HT204063
- Try starting in Safe Mode
OS X: What is Safe Boot, Safe Mode?
https://support.apple.com/en-us/HT201262
- Boot to Recovery and repair the startup disk
OS X: About OS X Recovery - Apple Support
https://support.apple.com/en-us/HT201314
- If it is repairable reinstall the OSX
How to reinstall OS X on your Mac - Apple Support
https://support.apple.com/en-us/HT204904
- If you do not have a backup use disk utility to restore the internal disk to an external disk so you can try to recover data.
Then format the startup disk and do a fresh install of OSX
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar
https://www.apple.com/retail/geniusbar/
This is the Mac Pro desktop forum. I requested your post be moved to the MacBook Pro laptop forum.
Please move the MacBook Pro forum. Thanks