Fully fresh Ubuntu Install via terminal
You won't be able to reinstall your system while the same system is currently booted.
If you have physical access to the device you can use bootable installation media to reinstall.
If you are paying for hosting somewhere, most hosting providers have a toolkit that you can use to reinstall the operating system. Check with the hosting provider for instructions or details.