It sounds like manic behavior. It can be caused by genetics or a sensitivity to stimulents such as caffene. Try adjusting your diet to eliminate products that contain caffene and reduce your sugar intake. Increase fruits and vegetables in your diet except for bananas. Bananas have a lot of natural sugar in them so don't eat to many.
After you have done that for a couple weeks, you should notice a difference. If not, it's time to talk to your family doctor.