The court can give the person a penalty for doing something wrong. This can be a fine (paying money), prison time, or a court order that tells you how to behave.