Please check out the following links for videos on how to prepare worm lysis buffer and DNA extraction from a single nematode specimen using worm lysis buffer.
https://www.youtube.com/watch?v=8W8pygNR1EM&t=77s
https://www.youtube.com/watch?v=WCHhuwxDcDM