how to recover my serial

I bought a Yamaha table with the serial number that I installed and used normally.
I formatted my machine and it didn’t recover the Cubase serial. How do I activate it again?

What version Cubase were you using?

Do you have your steinberg login details?