First of all, if it is something you are learning to do, such as dancing, singing, playing the guitar, or writing poetry, the key is to practice. There is a reason it is said that practice makes perfect, which means that the only way to improve is to practice. You should practice until you become adept at self-correction. Practice enough so that you can both notice and correct errors in your execution of the specific ability that you are attempting to acquire.
Once you have completed a disciplined practice routine, you will likely reach this point. Second, always be persistent and consistent. Keep setting small attainable goals and keep a positive attitude until you reach the point where you are talented in the area that you are trying to master. Hard work and dedication will help you in every area.