Firstly add the source:
sudo add-apt-repository ppa:mystic-mirage/pycharm
then if you want to install the professional version:
sudo apt update
sudo apt install pycharm
or you are a loser and just want the free one,ok:
sudo apt update
sudo apt install pycharm-community
if you want to uninstall it:
sudo apt remove pycharm pycharm-community && sudo apt autoremove