It's a good question and it's vital to consider before planning a trip. I always make long and big research about the country I am going to visit, I read forums/blogs, look for reviews etc. Here is a great article, where you can find the safest and dangerous countries
https://travelsites.com/blog/the-saf...ries-to-visit/