Klaudiahoxha -
The "way forward" for you is:
1. Create a bootable USB flashdrive (I suggest using the free "Install Disk Creator" app)
2. Boot the Mac from the flashdrive
3. Open disk utility, go to the view menu (if there is one) and choose "show all devices"
4. Select the topmost item that represents the physical drive inside.
5. ERASE IT to "Mac OS extended, journaling enabled, GUID partition format"
6. When the erase is done, quit disk utility and open the OS installer
7. Let the OS installer do its thing. It will take a little while and the Mac may "go dark" and then restart one or more times.
8. When done, you should see the initial setup screen -- start clicking through.
9. When asked if you wish to migrate from another drive, connect your backup, point the way to it. Give Setup Assistant time to digest everything. I suggest you migrate everything.
10. When done, you should see your login screen.