Post your circuit, and a photo of what you are testing. That will help.
Most switch mode power supplies look pretty much like this as you are switching inductors.
Long wires can add to the ringing, as can the layout.
Various snubber circuits may reduce the oscillations and it could be exacerbated by how the oscilloscope is connected.