I'm afraid to tell you, but there is no native way back. You'll have to
save and backup your files and start all over with formatting and
reinstalling the operating system.
What exactly doesn't work? Maybe you can fix your issues prior to
uninstalling and reinstalling everything again.