My son is 5 next month. He has a lot of energy and needs to get out and run around daily (outdoors or a large indoor space). We have a mini trampoline if getting out is impossible.
As others have said, many kids get hyper when overtired. After my son gave up his nap at 3 we had to adjust his bedtime a lot earlier. With a nap he went to bed at 9 but with no nap he should be sleeping by 8 (in bed 15 to 30 minutes earlier).
I can't tell if your son meets the clinical description for ADHD. You could try talking to the pediatrician and see if they think he needs an evaluation. If he is in school it might be worth seeing what the teacher thinks too.
I've used discipline tips from 2 books; 1 2 3 Magic and Setting Limits with Your Strong Willed Child. Counting to 3 or even 5 works well in some situations. The other book has a variety of suggestions. Sometimes a time out or spanking works. I find taking away a favorite toy for a short while works as a consequence. Being consistent with a consequence works. But it takes work on your part (pick 3 or fewer things to change at a time).
My kids act up when they are bored or I am in the middle of doing something else. Sometimes it helps to get them started on an activity and play for a few minutes with them before you start whatever you need to do. Play doh or crafts at the kitchen table when I am making dinner is a good one in our house.