When the person has been found not guilty of an accusation, or where no penalty has been imposed, the Ordinary may provide for the person’s welfare and for the common good by opportune warnings or other solicitous means, and even, if the case calls for it, by the use of penal remedies.
Source: Code of Canon Law (Vatican.va)