PS4 controller multiple issues

My controller does charge but stops charging after a few minutes. It gets hot around the power button and audio jack at the bottom and within the past month I’ve gotten some serious input lag where it seemingly moves on it’s own if it moves anything at all (it doesn’t matter if I’m playing a game or at the home screen).