I'm new in this forum and I'm also a beginner with OCC.
I would like to convert step files to stl format.
how could I do? where to start?
Start with the tutorials.
You probably also want to look at the code for the ImportExport sample. It can read STEP files and can export STL files for a selected shape. It should introduce you to most of the classes you need.