Most probably it is an inflammation called EPIDIDYMOORCHITIS caused by infection of vas. It can also be calcification or post operative fibrosis after vasectomy operation. If it is a bacterial or viral infection, it is very difficult to control because antibiotics take a very long time to reach vas. It can also be due to venereal microorganisms. Get semen examined.