I have been having wrist pain during and after typing. What is wrong?

Carpal tunnel. It is most likely carpal tunnel syndrome and can probably be treated with wrist supports and a cushion under your forearms when typing. Seek a consult with a qualified hand surgeon.