You really can't avoid them. Most are recieved by random things like take x amount of steps. Beat So and so. Stuff like that. You CAN however not collect them as to get them you have to talk to the old man in the Pokemon Center that stands near Nurse Joy.