Breathe. Deep breaths. In through your nose, out through your mouth. Count to three slowly when you inhale, then to five slowly when you exhale. Just keep reminding yourself that this little discomfort now is leading to you overcoming you anxiety for good. Just keep breathing and when you negative thoughts, challenge it, for example "oh my god I'm going to have a panic attack" stop and tell yourself "no, I won't. Everything's okay. Nothing bad's going to happen. This is helping me". I hope this helps for next time (I assume you're not still sitting there after an hour).