If your pajamas are made of 100% cotton, and you put them in the dryer, there is a good chance they're going to shrink. Try to avoid drying your cotton clothes in the dryer and instead let them air dry. The heat is what causes the cotton to shrink.