hi, you have not mentioned your age, or any reports that have been done. See a urologist
in addition to the doctor treating you for your panic attacks. Get a sonography
, urine test and uroflow done. If there is no urine infection and residual urine volume is not high, you can be started on some medicines which relax your bladder (anticholinergics) which will decrease your urine frequency and urgency to void. limit your fluid intake to say 8-10 glasses /day. avoid caffeinated and fizzy drinks. try diverting your attention from your bladder, try increasing your voiding interval by 5-10 minutes each week. you can also try relaxation exercises and yoga
. good luck.