The sock pattern I’m knitting says - p24, wrap next st and turn. I’ve knitted socks before but I’ve never wrapped a stitch.
How do you do it?

Wrap and turn is shown on a video under Short Rows on the Advanced Techniques page. There’s an article with pictures at knitty.