While there is no sure way to prevent prostate cancer, certain lifestyle changes may help reduce the risk. These include maintaining a healthy diet, engaging in regular exercise, and avoiding smoking. Some studies suggest that medications like 5-alpha reductase inhibitors may lower the risk of developing prostate cancer, but these should only be taken under medical supervision.