The correct option is B First peep out from the window to confirm whether you know the person.
You would first peep out from the window to confirm whether you know the person. Because it may happen that some strange person is at the door who can harm you.