A very fascinating Box Turtle Bulletin post you may find interesting. A discussion on curing homosexuality from a 1913 edition of the Journal of the American Medical Association.
Techniques mentioned include castration, bladder washing, and — get this — prostate massage.
Also included was a rejoinder that was some 60 years ahead of its time, which boils down to a simple question: “If we accept homosexuality as a condition which has as much right to exist as heterosexuality, why should we address ourselves to the duty of treating it?”