As you know, in French you need to put the words ne and pas around a verb to make it negative (e.g. Je ne vais pas).
When you make a reflexive verb negative, the extra pronoun stays with the verb. The ne comes after the subject pronoun and the pas comes after the verb. For example, Je me souviens becomes Je ne me souviens pas.
Let’s look at the verbs se coucher and s’habiller in full. se coucher
Je Tu Il
ne me couche pas ne ne
Elle ne On ne Nous ne Vous ne Ils
ne Elles ne
Je Tu Il
ne ne ne
Elle ne On ne Nous ne Vous ne Ils
ne Elles ne
te couches se couche se couche se couche
pas pas pas pas
nous couchons pas vous couchez pas se couchent pas