don't put wd40 on it that encourages rust. there are going to be two little screws on the back of the derailleur which adjust the left and right tension. Flip your bike over(unless it has hydro brakes) and then just adjust these screws 1/4 turn at a time individually until your gears stop slipping.