I have same-sex attraction. I know that it is a sin against God.
It is absolutely NOT a sin to experience same sex attraction. All persons experience attractions to sinfulness. It even has a name. Concupiscense. It is the result of our fallen nature as human beings. So long as these temptations and attractions are treated as a cross, ("pick up your cross and follow me daily"), and not given importance, prominence in self-identity etc., there is no sin. Just a cross.
Sodomy is one of many sexual acts with ARE sinful, and can break ones relationship to God, so of course you should not cross the line from temptation and ideation to act. And if you did, and were not repentant or contrite you remain in your sin. If you were Catholic or EO, I would recommend the sacrament of reconciliation, (referred to as "confession") for any and all acts of commission in this or any other area of sin.
Now don't get me wrong. To dwell in, and revel in sinful thought is destructive. You open yourself up and weaken yourself to the commission of sinful acts. So, prayer when the thoughts come strong would be highly advisable. God will strengthen you if asked. But you must accept His grace and assistance, and not fight it. This grace is the essence of moral conscience for the Christian. And as He told Saint Paul, when the blessed apostle asked the Lord to remove a recurrent aggravation of his, "No. My grace is sufficient for you", so we must be prepared for that to be the answer as well. So....................back to the "pick up your cross" thing.
Do keep in mind though that for the believer to truly does turn to Him for help in battling sin, "come to me all you who are labored and burdened, and I will give you rest", so never despair if you are one of His sheep.
But I was wondering if I have to reveal my issue to church members?
I wouldn't unless you have a personal spiritual director, who also has an understanding of the lines between concupiscence and commission, and can in some way absolve you if you fall. Not sure what all the protestant equivalents for this are in your particular faith confession/group/denomination. It should not be in the twisted spirit of "coming out" which is a self medicating admission that one is not going to fight their temptations, and instead intend to give in to sin and intend to commit actual sin as a matter of course without repentance, and are seeking validation for the ego to feel better about it. "Coming Out" is NOT a spiritual act, or a confession of sin. It is an act of self gratification, and a seeking of moral permission from other fallen human beings to commit ones personal sin with impunity.
Other the other hand, if you mean to discuss it with another person who considers the whole thing as a struggle with temptation, then it can be useful, and help with accountability. You have to discern your motives. Is it to seek validation, or help fight sin? No one can answer that for you.
Part of me thinks that I should not go to church because let's face it, homosexuality is a sin that the church hates the most. That is why they preach against it the most. Well, that is what it shows on the media anyways.
The Church is a hospital for sinners. Not a museum for saints. We are all working towards perfection. "Be perfect, as your Father in Heaven is perfect", but will not achieve it until the last day. You should absolutely be going to Church. Everybody there is in a struggle with sin. If you feel that homosexuality is a worse sin or the most hated sin, then you may want to examine the Church you affiliate yourself with. Not that you should find a church that validates and nurtures your particular sin, but because all sin which wounds the relationship with God in a mortal way is equally repugnant. Homosexuality is one thing in a long list of things that we're supposed to avoid. It is not better or worse than murder, adultery, theft, lying, idolotry (it actually IS this sin in a way). That fact is that sexual sin is more "common" than some of the others, and so gets more attention. The other problem to Christians who truly struggle with sin as we are supposed to is that sexual sinners so often want to do away with the notion that what they do IS a sin. I think this can create a tension and even a resentment in Christians who view these things as a trial that they deal with every day. Every time a brother gives in and says "I AM" this or that thing, it is an invalidation of their own struggle which they are undertaking in good Christian will. Sexual sinners often want to get get rid of the concept of the sinful nature rather than admit they are a victim of it, and deal with it as a Christian disciple. There is such a temptation to give into the world which wants to validate and even celebrate sexual sin, largely because it makes other sexually sinful people feel better about themselves and their own sexual sin. None of us should feel good, validated, held up or vindicated in our sin. Guilt has a very real place in a persons sanctity. It doesn't arise from a bad upbringing. It arises from a good upbringing.
it is an unnatural sin. But because they speak so much against it, I have to wonder why go to church when everyone will clearly be uncomfortable around me because of my sinful struggle? I want to know the truth. But it is hard to hear the truth when the people who tell you the truth hates your sin the most. It will be like wanting to get educated, but the educator makes you feel stupid if you got the wrong answer. You want to know if you got the answer right or wrong, but your teacher was very condescending in the way that corrected you.
All sin is by nature unnatural in that it is acts which are not ordered towards their natural end and purpose. They are acts literally against nature which is God's creation. Homosexuality, once again, is just one of many sins against nature and therefore God. that is what makes something a sin. Sin is a rebellion against the natural way of God. Once again....if your church is so hypercritical of sinful nature, you may want to discern whether or not you are in an authentic Christian community. They should not abandon you because of your thoughts and dispositions. Excommunication and shunning are for those who are unrepentantly sinning in ACT with abandon, and without guilt. Not for those who are picking up and carrying their crosses daily. Take a good meditative read of St. Paul's letters to the Corinthians. These issues are tackled in those two letters in a reasonably straightforward way.
Again, the question is, do I need to reveal my sin to members of the church? Should I just have a don't ask and don't tell attitude? I know that the Bible says to confess your sins one to another, but that is the sin that gets condemned the most by other Christians. I don't know if I want to reveal that to them.
You can only be condemned by God. If you're truly struggling, and don't feel you can bring that up, then there are some red flags that need to be dealt with.
Peace to you. I will pray for you and your struggles. Please pray for me as well.