Use a 5-in-1 painter's tool scraper to remove all loose debris from the stucco area. Leaving fragile pieces for the new stucco to bond to puts the new stucco at risk of falling apart with the loose stucco.
Mix the new stucco with water in a 5-gallon bucket according to the directions listed on the label of the stucco package. Since stucco dries quickly, it's a good idea to mix only enough patch material for a 15 to 20 minute application.
Apply 1/4 of an inch of stucco at a time into the cracks. Use a rubber float to smooth out the area of application and remove any excess stucco. For smaller patches, fill the area with paintable high-quality caulk, then let it dry and top with stucco.