I agree with
@Sophea - it's time for a lawyer.
The aim of your defence will be to have anything they found at your house
kept out of evidence (lawyer-speak for this is "not admitted into evidence", or "inadmissible").
The idea being that without that evidence, there will not be enough to support a conviction.
It depends a bit on what actually happened.
On the one hand, if they searched the "right" premises and they found what they were looking for,
even though the warrant was simply written wrongly, then I doubt that the warrant would be invalid,
and so chances are, any "finds" would be admissible.
On the other, if they went to the place on the warrant, but that was
not the target premises
(that is,
not the place they were supposed to be searching), but,
found "something" (that is evidence of an unrelated offence) they weren't actually looking for
(and which, but for making a mistake, they would not have found), then
I'd be willing to have a good go at getting that kept out.