Well you know, kids will do what they do. You wouldn't be a normal teenager if you didn't land yourself in hot water now and then. Just know, there isn't an adult alive who was never a teenager. That is a fact. We have all messed up. Some bigger and more frequently than others. I recall in the 8th grade that myself as well as some kids I sat near in class thought we would set some things in the classroom on fire with hairspray and a lighter. Needless to say big trouble followed. The worst part was I wasn't allowed to use hairspray again for like a month. And that was in the 90's, so you can imagine how traumatized I was to be forced to wear flat hair. LOL!
Anyhoo, don't beat yourself up. If you broke a rule or two then you will endure the punishment. In a few years you will be a legal adult and most of what happens now will not be a worry. But suffering the wrath of our parents does serve to strengthen us. There is always something to gain, even if we don't realize it until 10-20 years later.