Assuming that this is NOT a joke--you should walk away.
Suggest to her that she get help, but honestly--she's got YEARS of issues with her sexuality to fix. You will not be able to help her with this--she needs to do it herself.
And honestly--could you really live with this?
Let her know you care for her, and hope she gets help, but get out of this relationship.