Political because same-sex marriage, etc.

What is the cure for homosexuality? Obviously, people are not born gay or bisexual. That contradicts biology. All signs point to homosexuality being a learned characteristic. This would also explain the dramatic increase in homosexuals/bisexuals in the last 10 years. We've also seen this with transgenderism.

How does one unlearn homosexual thoughts and urges? How could a homosexual become heterosexual?