These flies' infants may take longer to develop into flies. As a result, you'll have to wait 15 to 30 days for them to go away on their own. Waiting is not a smart way to get rid of maggots.