How to save my work into dicom format

What type of slicer object do you want to save as a DICOM?

You may find useful advice in this post: https://discourse.slicer.org/t/process-to-import-an-stl-file-and-convert-export-a-series-of-dicom-files/9906