Hi, Rosa2023,
Sorry to hear you're experiencing this issue.
Please provide some more details to help to identify what is causing the problem. Which is the full model of your printer? Which connection you are using USB, Wifi, or Ethernet? Do you have a third-party antivirus?
Also, if you are receiving an error message when trying to connect to your printer, please attach a screenshot of the error message.