Credit score

If you have CC you don’t use or want, what happens if you close them ? I was told it would reduce my credit card. How about reducing the told number of dollars you could have access to?