This way entails one important fact: all your files and data will be deleted during the process.
If you only have one drive and it’s not partitioned and this is where you have all your files and your OS, your choice is to clean install on the startup drive.
APPLE MACOS HIGH SIERRA CLEAN INSTALL HOW TO
Normally when you install a new version of macOS, you just install it over the previous version. Get Setapp, a toolkit with fixes for all Mac problems