Where to use static and where to use dynamic routing?

Routing is the crucial process in IP networks responsible for IP prefix propagation and keeping the whole network topology in order. Having billions of IP addresses divided into many different subnets, without routing there would be muddle that will prevent the whole Internet from working. So, routing is like the set of rules that allows localize particular IP network and IP addresses that belongs to that network.