Jolly Nature is preferred. EVs are gained by battling certain pokemon. I recommend using the associated Power Item, and the EV trainer and Pokerus if you have it. IVs can be maxed using the IV changer in exchange for an IV Stone. To Nature hunt, save before picking up the egg.