You start by doing research on how OCR works. You'll need to research neural networks and how they apply to writing recognition. Be warned, handwriting is the hardest of OCR to do. Don't expect 100% accuracy.
You start with the articles here on CP,
click here[
^].