If you are a defendant in a suit and have a claim against the plaintiff, you can file a counterclaim. That's a very general answer.
If you are a defendant in a suit and have a claim against the plaintiff, you can file a counterclaim. That's a very general answer.