I remember when I was first querying, I did not know the answer to this question, and definitely sent out some very, very embarrassing queries. I hope those agents don't remember them, because they were, like, noteworthy bad.
I'd say first, find critique partners/a writing group. Make at least te