The fact is : "why don't you just learn how to use after effects ?"
What you're asking is the basics of basics...
I suggest you get some tutorials and learn it from scratch.
http://forums.cgsociety.org/showthread.php?t=6834
You should find a lot of tutorials in here