First just run sudo xampp it should show the list of available operations. If not, then there is a problem in xampp installation(It's another question).
Second run sudo /opt/lampp/manager-linux-x64.run This will open a GUI. In GUI you can start and stop server(apache, sql). It may work in most cases.
If it is not starting in GUI, then change the port. (There is an option to change the port in GUI). Now it may work.
If the GUI option doesn't work for you, then try next.
Option 1. Open /opt/lampp/logs/error_log file and read last 10 lines.
In my case the error is could not bind to address [::]:80 . This
informs that port 80 is used by another service. Option are, change our
apache server port at GUI or /opt/lampp/properties.ini file
("Sometimes you have to log-out of system and login again to work.")
or stop the server that using this port.
Hint: Here 80 is used so try 81 and so on..
Option 2. Do the following steps.
Stop xampp sudo xampp stop
then
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/mysql stop
sudo /etc/init.d/proftpd stop
then
Start xampp sudo xampp start
Note:-
To remove /etc/init.d/apache2 How to remove Apache service