If the cat becomes frightened, increase the distance between the animals and progress more slowly. Eventually, the animals should be brought close enough together to allow them to investigate each other. You may want to keep your dog on a leash and with you when the cat is free in the house during the introduction process. Be sure that your cat has an escape route, and a place to hide. Keep the dog and cat separated when you aren't home until you are certain they will both be safe.
Dogs like to eat cat food because it is very high in protein, and therefore very tasty.
Although there are no health hazards to the dog from this habit, it is usually distasteful to the owners. Punishment after the fact will NOT change the dog's behavior. Always feed your dog alone. Cats should not eat dog food as it may cause dietary deficiencies.