2 yo hitting himself…. Advice?

My son is almost 2 and the last few weeks he seems to slap himself on the head/face when he’s tired, gets a burst of energy or is super frustrated. I’m worried about this behavior… is it normal?? Urgh someone please give me some advice, thank you!