How to get court order for medical test and treatment for impotence

I lived with my husband for 6 months.my husband's mother and sister wants his income and properties for that they did everything they can to seperate me from him.they tortured and harrased me a lot but my husband is unware when he came to know from me he believed them in first place and supported them to throw me out.during this 6mon period my husband and me havent done any sexual intercourse.he is having errection problem and scared to see a doctor though i supported him.now he joined his family against me and needs divorce but havent filed yet.i filed a domestic violence case against my inlaws and asked a pray to order a medical test and treatment for his errection problem. But his lawyer diverted my pray and humiliated me n my family in public saying am insane n infertile. please suggest me ways to convince the court to order the medical test and treatment for him without filing divorce or criminal case.in current status Domestic violence case is going on and am getting monthly maintenance.please suggest ways to make him answerable to the court. Thanks a lot for the support