A penalty is ordinarily ferendae sententiae, that is, not binding upon the offender until it has been imposed. It is, however, latae sententiae if the law or precept expressly lays this down, so that it is incurred automatically upon the commission of an offence.
Source: Code of Canon Law (Vatican.va)