Attractions to the same sex, while disordered and pointing in a direction that is outside of the purpose of sexual relations, is not in itself sinful, and hence would not need to be confessed. I have read or heard that confessing temptations can be done, so if true and if you want to, you can mention any struggles in this area. But that is very optional.
Having homosexual relations would be sinful, and would need to be confessed.
Any sexual activity (with self and others) outside of married life and open to life is sinful, and would need to be confessed prior to taking of the Eucharist, which we need to be in the state of Grace to receive.
One thing that may he important is to realize is that YOU are not your attractions. Hence I’d refrain from seriously calling you “gay”. I advise to not focus on it too much as though it were an identity or defined who you are. Do face any problems or issues you have with truth, honesty, and loyalty to God. God bless.