The teacher made a message to the class.
Before freaking out, I went to the registration's office.
The class needed registration forms, which I did fill out, and got worried about it.
The class needed registration forms, which I had not yet filled out, and got worried.