I have seen people delivered from evil spirits in churches, prayer lines, just sitting week after week in anointed services and while discussing the word of God in homes. It is the word of God which casts them out whether by preacher, priest, brethren or exorcist.
Services and conversations and speaking that which is anointed of the Holy Ghost does it. Evil spirits hate hearing about the Lord and the blood of the cross. Most of the time they will get the person to jump up and run out. When they stay the spirit either be cast out, or many times will leave on it's own. Many forms work.
The best thing to do is find a church or assembly (home or whatever) where the services are truly anointed of God. Even continual prayer even when unanswered works.
I have seen straight, gay, trans and cis people delivered. These spirits do exist and when we open the door to them they get stronger than most realize. I watched a small old lady throw a man over three pews.
I have also seen the people most unsuspected either tormented by an evil spirit or possessed by one. There is a difference in being tormented and possessed.
A person can be merely tormented and it makes their life hell. When a person gets possessed it is pretty sad. Like the small old lady, they can sit right through an anointed service and nothing will phase them. Only the Spirit of God bringing the rightly divided word of truth forth will drive them out. Sadly, many times they get the person to where they may not even care to be delivered.
I have seen straight, gay, trans and cis people in both cases. It is not always a case of sex or gender issues. There are those listed in the Bible tormented and possessed who weren't gay, trans or such.
An open door can be sexual or natural sin or even making a god out of anything before Christ. I have seen preacher's wives jump up covering their ears and run out of an anointed service. The occult, devil worship, witchcraft, drugs and other mind altering substances aren't the only things Satan uses.
Satan knows the word of God better than any preacher and knows just what opens a door for him. He knows just how to tempt man.
The main thing is to find a service truly anointed of the Holy Ghost. If there are none near, seek the baptism of the Holy Ghost and find some sort of fellowship which is anointed of the God.
Above all, never give up. Mary Magdalene was delivered of seven devils and God is no respecter of persons. If you continue to try to please God, he will honor it.