Can exercise affect fertility?

Kubra
What types of exercise are best for fertility and how much physical activity is recommended?