What are my rights and responsibilities in a class action?

What are my rights and responsibilities in a class action?