编辑一篇英文短文，包括拼写、语法和逻辑方面的错误。


"Yesterday, I wear a nice red dress when I go to the party. They is a lots of people and I have a good time."
Yesterday, I wore a nice red dress when I went to the party. There were lots of people, and I had a good time.