Stuck in lock screen

i ran “sudo startx” on a terminal inside i3wm
it made a wierd screen there was 3 terminals inside there, so i typed reboot and rebooted
and now i am stuck in lockscreen
how do i fix it?

This is the best method to break your login.
Login to TTY as root, and change owner to all files in your home folder, recursively.
For example user nemesis:

sudo chown -hR nemesis:nemesis /home/nemesis

If it still blocks you, delete $HOME/.Xauthority.