panic attacks at work

im struggling at work i often do things differently than most and i avoid doing certain things all together not because i am lazy or stupid, im just trying not to panic and get through the day.  I'm wondering how others do it (work) and should i tell my boss or just keep it  to myself?