OpenSSL issue when updating; sudo also does not work now

I got it from here

the problem is I’m not sure how I can get to the GRUB boot menu as I’m not even able to restart