Most of the search engines hae a "how to post" page on the site
somewhere, and they sometimes give away the odd tip or two, but
the actual algorithms are a closely-guarded secret. People learn
how to do it by either reading sites like this one, or taking the
time to learn themwselves, by trial and error.