Just like your child, you will have a variety of great days, bad days, and everything in between.
With that said, if you are consistent in your parenting, regardless of your mood, then you will foster trust from your child.
Being a parent that focuses on CONSISTENCY is the key component to helping your child behave better, plus they will learn and grow more successfully.