Below is the life cycle of potato blight (Phytophthora infestans). Most fungal infections will have a similar life cycle.
Important ways in which fungal infections are spread include wind, water, contact. Control measures that are valuable include – ensuring good air circulation around plants, removing and destroying infected plants, good hygiene (removing dead plant material from the planting area and burning, ensuring tools are very clean, etc.)