Dug or farmed worm?
Most likely farmed if bought online.
Farmed worm keep alot better than dug if in peat.
Ask most of the tackle dealers,they'll tell you,farmed worm keeps easier than the dug stuff especially if kept in peat.
Farmed-Change the paper every day or two discarding any dead worms,store in a fridge.
Dug-The same although theses don't keep to well in peat,these are best of dug fresh then kept in cat litter trays with a smidge of sea water with regular changes every day or two again discard any dead worms or worms which are cut as these worms will kill the rest as they bleed and turn the water a dark colour introducing bad bacteria killing the healthy worms.