Many cases are settled by an agreement before court. You can even settle at the courthouse right before your trial. Think about a fair compromise and suggest it to the other side. Even if you win in court, you might have trouble collecting the money. So, a settlement that gives you some money right away may be smart.
Put any agreement in writing! Both parties must sign and date it. Take the agreement to court on your hearing date, and have the court make it into an order. This will help protect you in case there is a disagreement later.