# Edit and delete user segments

To edit a user segment, perform the following:

1. Navigate to *Marketing » Personalization*.
2. Click the segment that you want to edit.
3. Perform procedure [Create user segments](https://www.progress.com/documentation/sitefinity-cms/create-user-segments).
4. When you are finished, click *Save changes*.

To delete a user segment, perform the following:

1. Navigate to *Marketing » Personalization*.
2. Click the *Actions* link of the segment that you want to edit.
3. In the dropdown menu, click *Delete*.\
   A dialog box appears where you must confirm the deletion.\
   The system deletes the segment and all the personalized pages that use this segment.

> important **IMPORTANT**: Do not delete a user segment while you are using it to define an A/B test. If you do this, Sitefinity CMS will report the A/B test data as if it belonged to all users, thus invalidating your A/B experiment.
