Keyboard entry problems

I’m getting double entry of some letters from my keyboard when typing messages in email. Also, the software is entering a space after the end of each word, but not showing it.