SSH is not working

I am trying to ssh into a raspberry pi that I have to do some headless work. i have never used ssh before and have found the following after trying every fix that google could find.

  1. Refusing connection on port 22 always
  2. I can ssh in from the pi to the main computer but not the reverse
    I am at a loss on how to proceed, SSH is enabled on my computer (I think) and I dont know where to go from here.

Edit SOLVED:sudo systemctl start sshd make sure SSH is started, wait for the device to power on after a minute or two, and temp disable firewalld with sudo systemctl stop firewalld

SSH isn’t activated by default on a Raspberry Pi and you have to enable it.

https://www.raspberrypi.com/documentation/computers/remote-access.html#ssh