How to make Infinite Level on my game?

I want to make it to where the level automatically creates random obstacles infinitely. I also don’t really know how to upload this soo if you know how plz tell me.

Works great for infinite terrain