Even if you have the best discipline techniques and parenting style, there are some days when nothing seems to work. Or perhaps you've had a bad day, too. Developing positive discipline skills takes a lot of practice and a lot of time.
If you feel you've made a mistake, be honest. Apologize to your child and explain how you plan to change your response the next time.