How do I remove old sync files from an Android phone?

I used to sync files to my Android phone (back when sync was functioning). Now my phone’s internal storage and SD card are clogged with media parts that I can’t get to delete. I’ve tried uninstalling/reinstalling the Plex app a million times and that does not fix anything. How do I get rid of all of these files?