Be vigilant against temptation, but do not allow it to claim too great a share of your attention. You should concentrate, rather, on the virtues that you should develop, the services you should strive to render, and, above all, on God and His attributes, and devote your energies to living a full Bahá’í life in all its many aspects.
(Universal House of Justice, Lights of Guidance, p. 363).
If you are sincerely intent on overcoming your problem, you must yourself determine to resist wayward impulses each time they arise and the House of Justice feels that there is no better way than to turn to the Writings to divert our thoughts into spiritual channels , perhaps to concentrate on what we may do to help others along the way to discovering the Bahá’í Faith. The more we occupy ourselves with teaching the Cause and serving our fellowman in this way, the stronger we become in resisting that which is abhorrent to our spiritual selves.
(Letters of The Universal House of Justice, 1993 Jun 05, Homosexuality)