Hey, Don't worry I am here to the rescue:) I have faced that error many times, it basically arises when we call "res" commands twice or set codes for response after sending the response. I can give you more detailed explanation and suggestions after a walk through of the code.
Look forward to hear form you:)
Thanks.