It could mean either of two things:
1. Most likely, someone did something nice for/to you, so you want to do something nice for/to them.
2. You can look up the word curtsy or curtsey, a kind of greeting by a girl or a woman that could be returned. They're variations on a word derived long ago from courtesy.
Student or Learner