We do not know if Jesus went to school. The Bible is silent about the early life of the Lord except for some of the events surrounding his birth, the visit of the Magi, the flight to Egypt, and his staying behind at the temple to question the "Doctors of the Law" when he was about 12 years old.
Jesus might have been educated at a Synagogue school in Nazareth but this was unlikely. The Jewish authorities seemed to know a lot about Jesus background and they thought that he did not have any formal education. See Mark 6:2-4 and John 7:15. As per the injunction in Deuteronomy 11:19, Jesus was probably well-taught by his foster-father, Joseph.
I hope you have found this helpful.