My question involves small claims court in the state of: Van Nuys, CA

I was a plaintiff in a case with the defendent filing a cross complaint as a plaintiff.

The judge in the case allowed written evidence that was not disclosed to me during discovery. I stated that it had not be disclosed during discovery, the judge still read it, I again objected and asked if I could see it, the judge said she would let me see it later, and then handed it back to the cross complaint plaintiff.

I never saw this document and it was supposedly a declaration describing illegal activity on my part.

The judge took this evidence into consideration without my ability to view it.

What are my options?