Pinworms do not reside in the stomach. They live and mate in the large part of the intestine near the anus. They are typically killed off by a ingesting an anti-nematode tablet (e.g. Vermox or Albenza), then another two weeks later.
You can help the HubPages community highlight top quality content by ranking this answer up or down.