SEO can be compared to exercise. By this we mean that it takes time to get fit but once you are fit then your fitness is easier to maintain. SEO is the same; it will take time to get a good ranking but once you have a solid ranking it is easier to maintain that ranking. That said if you suddenly stop then your ranking will deteriorate just as your fitness would if you stopped exercising.