After both parties have shown evidence and asked witnesses questions, the judge or jury will decide which party is right. Then the court will do something to make the winning party happy again. The court might make the losing party pay the winner money, or it might make the losing party stop doing something that made the winner unhappy.