how do you secure the beginning and end of every seam?

Run the needle back about three stitches. Some seamstress then run it forwards again.