How to stop my dog from eating the cats food?



My dog is 7 years old and we have never had this problem before. We feed her every morning the same food we have fed her for 7 years, but starting a week ago, she started eating the cats food in the afternoon. Why would she start eating the cat food after 7 years of never touching it? And how do i get her to stop?