How do i stop my dog from eating cat food?



My sisters cat moved in. And my dog eats his food. How can I stop? Its so irritating. And I really care about my dogs health. When I put it on a table, it falls off the table. My sisters cat is a messy eater!