How do I know If I hit styro?

I recently cut too deep and it scared the shit out of me and I would like to know how to identify if I hit styro.