Shifts & Shift Groups

How to set up shifts or shift groups and when can we use them