there are 2 kinds of contempt of court, direct and indirect. you could be directly contempt by the court if in its presence you have wantonly and volunatarily violated its order, and indirectly, when there is a formal complaint lodge against you still for violating an order of the court, the important thing to consider in contempt of court is that you must be under its jurisdiction to be subjected on its contempt, such as when you appear as a litigant, a witness ,a lawyer or prosecutor in the court ..when you file an administrative case against a member of the judiciary when you feel its decision is unjust and unfair, that is not contemptible because you did subject yourself under the jurisdiction of said member of the court by filing the said complaint..