Hi Gloria--
The first thing I would do is check to see if the "court order" is real. Check with the court that they claim it came from--the only way to legally take the money from your account is if they get a judgment against you, or if you give them your permission to take money from your bank.
Call the court clerk's office in the county you live in--they will be able to tell you if you have a judgment against you there. If the court order they sent you is from a different county, then check with that county. It should say on the page where it comes from. If it is not in the county where you reside, then petition the court that it came from to vacate the judgment due to improper venue. They are not allowed to file suit against you in some other county in the hopes that you wont know about it--and they would thus get a default judgment when you didnt show up. That is illegal. So, if they did it you can get it reversed.
OK, if you find that there was a judgment entered against you in your county, and you were never served summons to appear, then you need to file a motion to vacate the judgment on the grounds of improper service. They must, by law, notify you and report back to the court that they notified you. The plaintiff must show proof to the court that you were duly informed. If you were not, then they just lied to the court. For more info on how they are required to serve you the summons, check your state's "rules of civil procedure".
If you find that they never took this to court, you must immediately contact your bank and file a fraud complaint. Tell them that the money was illegally withdrawn without your permission and without a court order to do so. Then, notify your state's attorney general's office and file formal complaint there too--good idea to file one in the AG's office in the state that this particular collection agency operates out of as well. But your bank should be able to put a stop to that and get the money back if they had no legal right to touch it.
One more thing--what state do you live in, and do you know anything about this debt? For example, when was the last payment made by you on the account? It is possible that the debt is outside the SOL, and if it is, then you can use that to your advantage.