It doesn't matter how long he's had it. If he has trichomoniasis he can pass it onto his partner. It's easily cured with a several pills for both male and female. Planned Parenthood treats this
Since chlamydia is a bacteria, if the infection is removed, and you continue unprotected sex with the infected person, you will continue to catch the bacteria.