Avanade interview question

What do you do when you first get a foreign code base?