A 62-year-old man was critically injured Thursday afternoon after gunfire came through the window of his West Side home and he was shot in the head, Chicago police said.