By asking the reader or by the rating of the book/story/paragraph the author made for example if the author made a story or a paragraph and it got a high rating thats how the author would know if the reader likes it or not
but its only on my opinion so if you dont like my answer or its incorrect im sorry