Once inside your body, pinworms make a home in your colon and rectum. At night, female worms come outside to lay eggs in the skin around your anus. If you scratch the area, the eggs get on your fingers or under your nails, then wipe off on the next thing you touch.