My keyboard is typing random letters and numbers... please help

My laptop’s keyboard isn’t working right. Keys are coming up incorrectly like ‘r’ is typing out ‘x’, ‘y’ to ‘u’, ‘i’ to ‘u’, ‘p’ to ‘d’, ‘:;’ to ‘f’, ‘h’ to ‘w’, ‘f’ to ‘8’, ‘d’ to ‘0’, ‘c’ to ‘q’, ‘<’ to ‘w’. None of the other keys type out anything, and backspace doesn’t work. I tried turning off Sticky Keys and pulling up the on-screen keyboard to see if the number lock was on. Nothing works.

I think you selected the wrong keyboard layout. Check your language settings for the keyboard and change it to US.

I put it in US. It still won’t type.

Do you have an external keyboard to test? If you do, try typing with that. If it works, then the issue might be with your laptop’s keyboard.