I'm new to ArcGIS. I accidentally closed the layer tab and tried to get it back. The project is still open, but I can't see my layers anymore. Many thanks!
Do you mean the Contents area that shows you all the layers that are in your project?
If so, head to the View tab at the top choose Contents:
Retrieving data ...