Input lag on PC

I started playing again after a couple of months, it used to run fine without any problem. Today when I tried to play the game there is a huge input lag, about 2-3 seconds, making steering ou even breaking impossible.
I tried to put everything on low, playing without internet connection, playing with the Ethernet cable and wifi but the problem persisted.

Anyone know a fix?

My specs are
I5 8300H
8gb ram
GTX 1050
Running the game from a samsung 256 GB SSD