About planned deviation

What is planed deviation… If during planned deviation fund unplanned deviation during process how to handle it?