Pin worms during pregnancy

Patient: Hi I just found out iam 4 wks pregnant I just realised I have pin worms I have four children a cat and dog and kittens I’m not sure how I got them but what can I take to treat and will it harm my unborn child in any way

Symptoms: Itching