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