Sleeping, Anger and Anxiety

I have a lot of issues going on right now. First of all, I have a lot of trouble sleeping at times, while other nights I sleep too much and still feel quite tired. I'm also noticing increased irritability and experiencing anxiety attacks that last for hours. Is there something wrong with me and if so what should I do?