How should I proceed to make a 2D procedural structure generation

I want to know what should I do and how should I proceed to make a 2d procedural structure generation.

math.noise(X,StableNumber,StableNumber)

What is StableNumber supposed to be? Can you give me an example I’m a bit confused