Contempt can happen when you fail to follow a judge’s directions, refuse to obey an order of the court, or ignore a ruling made by the court. Contempt of court is a violation of the law. If a spouse was ordered to pay monthly child support or alimony and intentionally refused to pay, they could be held in contempt. Failing to obey a court order may result in jail time.