How do I correct mistakes in drawing?

Is there a way to correct errors in drawing letters

Automatically? Not really. These are things that you need to correct manually. Over time, you won’t even make these mistakes in the first place.

For simple clean-ups, try the Tidy Up Paths option.