Do rabbis have to go to school to become a rabbi or ordained rabbi?

Yes, in order to use the title of 'Rabbi', a person must receive their 'smicha' through a Jewish religious school (Yeshiva).