Это приказ. Используем глагол 'tell' в прошедшем времени ('told').
She told me not to do it.
Ответ: She told me not to do it.