Most of the time umask will already be set by your distro to 022 but you can change it if you like. You can see what umask value is set with:
If you want to change umask for temporally,
# umask 0044
Note: These value will stay until you log out and then return to its default value.
To make it permanent, edit /etc/bashrc or to your ~/.bash_profile.
For more information Click here