If you are using a Mac that is compatible with High Sierra, you can download the installer directly from Apple:
I can provide step-by-step troubleshooting tailored to your specific hardware. Share public link
: Go to the App Store, find macOS High Sierra, and click to download and install. Follow the on-screen instructions.