My game freezes every time I use in game chat

Everytime I go to chat with someone in the game it freezes. I can’t change weapons, open items or collect things. I can only move! Its so annoying! Anyone else have this problem? I need a fix.Thankyou