When you are fighting custody issues, judges will allow basically any type of discovery. If you are suffering from mental health issues, it may be a wise decision to see a therapist and get on medication, if that is recommended. However, your spouse and his or her attorney could certainly try to use that information to show that you are unstable.