Did you actually search the wiki at all before asking that question? A simple search of this wiki will tell you that therehasbeenfour wars in the series.
The global conflicts in the Naruto world, akin to our real World Wars, there were four of them in total. You can read the articles about each of them for better understanding: