A man was looking out of his window when bullets came through the window and into his bedroom.