You can do a B.A. in history and B.Ed. afterward to teach at the school level. To teach at the university level, you need an M.A. in history and you should have cleared the NET exam. If you do not have any degree in history, still you can teach history to students preparing for various government exams in coaching institutes.