Yes, the install restarted from the beginning, and
yes I tried to remove the flash drive, and when I did that, it just loaded in bios automatically, and there was nothing as a bootable device.
Its my first ever ssd, and when I reinstalled windows to it, it went smoothly until the restart, because it restarted, and began the install again, so I restarted it manually and I tried set the priority of the ssd in the bios, but then I saw that the ssd didnt even displayed as a bootable...