Though the cause of this infection is not known, the general precautionary measures are:
Do not have sex practices.
Do not use douching agents.
If using IUD for contraception get it removed.