The easiest way to hand sew the trim is to start at the top and slipstitch around all four sides of the trim. You should not use the curtain lining for the trim and face fabric. Some curtain panels have trim.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.