Open Question: How to overcome overconfidence in a fight?

I am a black belt in Kung Fu and Tae Kwon Do, but I just got I a fight and I got overconfident and missed my punches and felt like I wasn’t giving enoug power in to everything. But I want to know how to control that so next time I get in a fight I have full control and know what to do. Thank you