Fetching details from the dictionary...

confession (to a crime, wrongdoing, etc.); admission
professing one's feelings (to someone one wants to go out with); declaration of love
profession (of faith)
confession (of sins)
勇気を出して好きな人に告白することにした。
I decided to muster up courage and confess to the person I like.
真実を告白することにしました。
I decided to confess the truth.
神への信仰を告白しました。
I made a confession of faith.