Is the epididymitis and prostatitis life long problem?

Not lifelong. But the conditions you mention take some treatment to fix. Your doc has probably given you antibiotics already. You might consider natural antimicrobials such as olive leaf extract or colloidal silver. Please don't do or get prostate massage w/out docs ok. It may spread the infection. If not infected it can be used. Peace and good health.