I've had prostate pain issues since 2008 and here are the things I tried and learned. Supplements - the best were Quercetin, Berberine, Bromelain, Papain, Pygeum. If you have cancer, it never hurts to try Ivermectin and Fenbendazole.
My prostate pain was the worst whenever I had too much sugar or caffeine. Stay away from raw processed sugars, jelly beans etc. No sugars, low carbs is best diet for prostate pain, switch from coffee to green tea, still caffeine just less.