Here are the steps on how to play a mordent:
1. Play the main note.
2. Quickly play the note above the main note.
3. Quickly return to the main note.
4. Hold the main note for the full value.
The mordent is a grace note, which means that it is played before the beat. The exact timing of the mordent may vary depending on the piece of music.
Here is an example of a mordent in a piece of music:
```
C | D D C | E E D |
```
In this example, the mordent is played on the D notes. The D notes are played quickly before the C and E notes.