Converting a JPG file to a DST file for embroidery requires specialized software because DST is a proprietary embroidery machine file format. Here's a general guideline for converting a JPG to DST You'll need embroidery software that supports the conversion from raster images (like JPG) to embroidery file formats (like DST). Popular software options include Wilcom, Pulse, and Tajima DG/ML by Pulse.
https://digiembroidery.com/convert-png-to-dst/