Take the time you need to learn the craft. Then sit down and write. When you hand over your completed manuscript to a trusted reader, keep an open mind. Edit, edit, and edit again. After you have written a great query letter, go to AgentQuery.com. This site is an invaluable resource that lists agents in your genre. Submit, accept rejection as part of the process, and submit again. And, of course, never give up.