How to choose between interpreter and compiler?

There are lots of articles on the internet that explain the difference between “interpreter” and “compiler”. I understand their pros and cons. But when it comes to actually choosing one of them, I don’t know when it’s better to choose one over the other. Can you give me examples of applications where one is obviously more suitable than the other?