Believe it or not, the goal isn’t to be perfect.
Rather, the goal is to become so fluent with the musical language that you can quickly and seamlessly recover from whatever mistakes you make.
It may take you a while to believe this but once you do, music gets more fun. (Trust me on this!)
Here are some free piano improv lessons for you to enjoy.