Got schooled

1. Received an education, usually informally. 2. Was taught a lesson.