Help with Celestial Bodies

Can someone give me suggestions as what is wrong, I lost connection to psql yesterday and now cant connect, I’ve tried a number of different ways, I’ve tried connecting via my Ona account which was what I was using when I lost connection I have also tried connecting locally and I get the same message

camper: /project$ psql --username=freecodecamp --dbname=postgres
psql: error: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?"

click the Reset button, then close the terminal after the reset is done.
After that open a new terminal and you should be able to connect.
(also note that this has been asked many many times already and answered quite a few times so a search in the forum would have helped you)