Pet Feeder with RFID

So i was hoping someone could steer me in the right direction in regards to coding this right.

First, make sure that the hardware can do what you expect. RFID readers do not have much range. How will your pets be tagged? Will they be able to (and smart enough to and inclined to) get the tag close enough to the reader?

Second, start with a clear statement of requirements. Under what circumstances should the Arduino activate the food dispenser? Every time your pet approaches? Only once or twice per day when the pet approaches? How much food should it output? How will you measure that? Is time sufficient?

I don't know is there some way to program a timer?

There are. But, you don't need to. The Blink Without Delay uses a timer, but there is no programming of that timer required. You don't need to program your watch, do you?