There are suggestions. There is penance.
The priest, acting as a counselor, may suggest things that he thinks would benefit you (including suggesting that you reveal your sin to someone to be free of your guilt). You are not required to take him up on the suggestion. It was merely a suggestion that he thought might help you.
The priest also gives penance: “Say x amount of prayers”, “Spend some time in adoration”, etc.
[quote=andy92]I had the same questions about once a priest (not my normal confesor) asked me to to pray the rosary every day I committed a certain sin as well as another thing. I wasn’t sure about it.
Andy92, the above would sound, in my personal opinion, like a suggestion to help you get over that particular sin, not penance. Since I don’t know your circumstances, I think it is best for you to speak with your normal confessor about this.