Sued in small claims: what to do next

Sued in small claims court? What to do first, whether to file an answer, defenses, counterclaims and what happens at the hearing.