How do I Create Procedural Planets?

I heard of a thing called procedural planets so when you cross the planet fog it transports you to a flat world so I can build the terrain from there.

Can anyone suggest me videos or tell me how to make a procedural planet, please?

Thanks,
​​​​​​​Cookiedough611