Is school mandatory to go to school?

Depends what country you live in and if your parents are willing to home-school you.