Do not believe all the thoughts in your head
If you hear your inner critic, debate with it. Look at it objectively. Whatever your negative thought, find evidence to the contrary and remind yourself of that over and over. The opposite of self-doubt is grounding yourself in a truth that renders that thought categorically false.