How to create a segment ?

How to create a segment ?