You must regain confidence by simply not playing for a bit. Take a break. Shake those bad beats and refresh yourself.