how to reset ~/.profile to default
You can edit the file using
nano ~/.profile
To get the default ~/.profile
back use
cp /etc/skel/.profile ~/.profile
As this will overwrite your modified version you may want to save your version first:
cp ~/.profile ~/.profile.invalid