How can I control my arduino's Remote control with IR command?

Hey all.
I want to learn how to control a robot with arduino mega. I need the files which is necessary for that such as libraries,programs,items,education movies etc... I need your help.
Thanks..