You get them by eating certain foods that you find in the trash hole. The catch is that the food rotates often, so nobody can give you a straight, lasting answer — what works one week may not work the next.
The practical approach is to check the trash hole regularly and keep trying the current food until the plague pet you want shows up.