How do you get your books published onto the site or even published at all?

Kdp on amazon. Or lots cave. There are other sites. It s true, not all of them publish what i write but i try to publish wherever they accept me.