Gta 5 lag

I just built a pc, i installed gta and put mods onto it, the game is extremely laggy and the inputs i put into my keyboard happen like 3-5 second after i press them. i keep crashing into walls lol. what is the fix? i have a $1500 pc, should be able to handle just fine. i also have issues with normal gta 5