Problem in PostreSQL

I started doing PostgreSQL from tomorrow and was doing the Mario database module from freecodecamp , it was working fine, but today when I am trying to start it , it’s not starting and showing some error . how can I fix it?

Try to close your current terminal and than open new one and repeat logging in from step 2:
Your virtual machine comes with PostgreSQL installed. You will use the Psql terminal application to interact with it. Log in by typing **psql --username=freecodecamp dbname=postgres** into the terminal and pressing enter.