Make sure to keep things clean, always wash your hands before touching them or food. They need lots of air flow and low humidity. Although sometimes they die just due to stress from shipping. The zebra silk worms tend to be a bit more hardy.
...and they need huge amounts of proper food. If you keep them in those small cricket boxes they're sold in without any air ventilation, new food or cleaning, they'll always die after a few days.