There is no proper solution unless you have to change its button. There is one temporary solution you can use an external USB mouse.
You have to change the touchpad panel which is responsible for right-click action in your keyboard. Every touchpad normally has two buttons.
The first is for right-click and the second for left click. It is inbuilt with your touch panel.
You have to find a touchpad with your laptop model number online. Buy and
change it if you are able to find it.
Simply remove the old touchpad using a screwdriver and pull out. Remember to remove the cable plugged in the motherboard and touch panel.
Connect the motherboard cable with the new touchpad and install it just like you have removed its old one.