Open ports

I have found that I have a great amount of open ports , I know many of them are needed for Windows to work
Was wondering if there’s a guide that can make it easier to know what if any can be closed

Run netstat on the box to find out what is running them.