So, to change to my_directory you type:
my_directory
[name@server ~]$ cd my_directory
To change to the parent folder you type:
[name@server ~]$ cd ..
And, to move back to your home directory ($HOME):
$HOME
[name@server ~]$ cd