My endnote isn't working well

You see the field codes in Word.
Try pressing Alt + F9, then everything should appear normally again.