I'd suggest that you review some articles on derailleur adjustment and familiarize yourself with what needs to be done. Follow the instructions from the beginning and do not skip any steps. Here are a couple to get you started:
http://www.parktool.com/blog/repair-...nts-derailleur
http://www.parktool.com/blog/repair-...ur-adjustments