encoder

hi guys
how i can use encoders in arduino 2560
its good to using timers and interupts
please thanks anser me soon :smiley:

What sort of encoder?

(Hope that was soon enough)