Samsung M20 screen not working after failed LineageOS install

So I tried to flash LineageOS on a samsung m20 phone using heimdal. Got to the point where i was supposed to wait for the flashing to finish. I waited a long time and decided to stop it since the finished message wasn’t appearing. So I got to stock rom again and tried the whole thing again. This time I didn’t wait as long as last time, and now it booted into stock rom, I know that cause I somehow enabled voice assistant and I think I have to go through the factory setup again. What should I do?