Testosterone replacement therapy (TRT) is not safe for people with a high risk of prostate or breast cancer. Doctors do not recommend TRT to patients who have heart failure, severe sleep apnea or urinary tract symptoms. The therapy might also contradict those who have hematocrit higher than 50%.