Ableton Live:Punch in and punch out

The punch in and punch out icons are on the two sides of the loop icon in the upper part of the program window.

Click these icons, set the loop values (the loop doesn't have to be "on"), record enable your track and push the record button.