Obsessional doubt

I struggle with lots of doubt and I always have. This doubt is almost obsessional in nature and often doesn’t make sense. For example, I went through a period where I was convinced I had stolen something from a shop, though I knew rationally I hadn’t. I was consumed with doubt to the point I began to question what had actually happened. Another example is when I’ve told my daughter off for something, I later question whether she actually did anything wrong or if I just punished her to be nasty. The thoughts and doubts go round and round.

I doubt myself continually in this way on many things and I don’t know how to break it.

Please help.