Well, the first thing that comes to mind is “keep your mouth shut”. But I’m assuming you want to be a member of society, and the fact that your asking what to do means you recognize that these are perspectives and behaviors you would prefer to be rid of.
So I’d suggest learning more about homosexuality and what it means to be transgender. Read stories and memoirs of the lives of transgender and homosexual people. Work to internalize the idea that trans and homosexual people are regular people, just like everyone else, and that there’s nothing wrong, gross, sick, or mentally ill about who they are.
Look inside yourself to try to find the root of your negative feelings towards homosexual and transgender people. Often they stem from fear and/or misunderstanding. Once you find those roots, find ways to address them and remove the negativity.
Talk with a therapist about your feelings. Chances are, they can help you change the way you think and respond to trans and homosexual people and concepts.
Get to meet trans and homosexual people. We are really neat people with diverse backgrounds and experiences.
Work to be kind and decent to everyone, regardless of who or what they are.
Galatians 3:28 New International Version (NIV)
28 There is neither Jew nor Gentile, neither slave nor free, nor is there male and female, for you are all one in Christ Jesus.Bible Gateway passage: Galatians 3:28 – New International Version
In God’s eyes, sex and gender are irrelevant. God loves you.
Be who you are supposed to be. God is love. Don’t let those who try to tell you that God hates win. That’s not the message that Jesus gave us.
God loves you, no matter what. So be the full and complete you!