Accidentally Disabled my Touchpad

you can open the terminal with keyboard shortcut Ctrl+Alt+T

then open the touchpad settings tab with the below command

gnome-control-center mouse

and then hit TAB until the switch on touchpad is active then hit Enter.

enter image description here