AutoCAD itself has a command called or the Raster Design toolset (an add-on).
For a from a JPG:
Garbage in equals garbage out. Before converting, edit the JPG using GIMP or Photoshop. jpg to dwg converter