Preventing and handling complications