How do you level Pokemon fast in platinum?

All you need to do is put the action replay code in if you don't have one you can use rare candys or battle the gyms a lot or put Pokemon in the day care center and come back in 12 hours