but as he heard the doctor tell his dad that hed been suffering from a panic attack and that his heart had been affected , dylan realized these things were not good and he swore to himself hed keep up with the doses ofxanax .