Pinworms ?

I’m having an itchy anus well inside of it. And I was diagnosed with herpes. However I see strings in my poop but they do not move. Do pinworms move most of the time? Or no. Also can herpes cause itching in anus even after treatment?