The sacrament of penance or confession is administered to people who commit sins after recieving the sacrament of baptism. A penance is usually given to the penitent such as a fast, abstinence, prayers, the reading of pious books, all depending on the different types of penitents and kind of sins. A kind of remedy is administered to heal the trouble in question. The penitent is also protected by the sacramental seal, so that his information may not be revealed to other persons, unless approved by the penitent. Some doctors of the church agree that no names ( accomplice ) can be named in the confessional.
When a person cannot see a priest for a while or for other reasons, for inmates who are not ready for example, a confession must be done within one's own hearth. I greatly recommend to see a confessor as soon as possible.
If you doubt your confessors judgments, seek advice from a spiritual director, it is permitted to change confessors