Keyboard disconfigures itself

I’ve had this problem since I bought it. When I start the Windows my computer works normally, after a few seconds the keyboard disconfigures and sometimes does not work. When I can access the task manager it goes back to normal. What should I do to solve this problem that seems to have come with it?