We all make them. Some are small, inconsequential, and generally unseen by others. Some are large, significant, and prominently displayed for all to see.
Regardless, there is one thing all mistakes have in common. Your reaction to it can make all the difference. If you let it eat you up, consume you with guilt or anger, you will likely compound any problem caused.
But you can also choose to accept the screw-up, own up to it, and focus on minimizing the consequences and prevent it from happening again.
Mistakes happen. Accept that. Make the best of it and move on with your life.