Can't select objects in Scene window

Sometimes, my cursor in the Scene view became like an eye icon and I can select any object or move in the Scene view.
I don’t know how to solve it. every time I close the Scene view window, and then I set the default layout.
but I think there should be a key or something to solve it.