Why it matters
It's easy to chase tricks, so it helps to know what Google actually says. One factor, distance, is out of your hands, because you can't move your building and you can't pick where the searcher stands. Relevance is the one you can improve most directly, and prominence grows from work you'd do anyway.
Example
A coffee shop searches for itself from across town and doesn't show up, while a competitor three blocks from the searcher does. That's distance at work, not a mistake on the shop's part. What the owner can control is relevance and prominence. She completes every field on her profile, picks the category that matches what she sells, and asks regular customers for reviews that mention what they ordered.
The three factors Google names
Google's help page on local ranking says local results are mainly based on relevance, distance, and popularity, and that together these factors help Google find the best match for a search. Under the headings, it uses the word prominence for the third factor.
Relevance is how well a Business Profile matches what someone is searching for. Google says complete and detailed business info helps it understand your business and match it to relevant searches.
Distance is how far each business is from the person searching. If the searcher doesn't share where they are, Google uses what it knows about their location.
Prominence is how well known a business is. Google says prominent places are more likely to show up in search results, and that it's also based on info like how many websites link to your business and how many reviews you have. It adds that more reviews and positive ratings can help your local ranking.
What you can't do, and what you can
Google states there's no way to request or pay for a better local ranking, and that it keeps the details of its algorithm confidential to keep the system fair. Treat any promise of a guaranteed spot with suspicion.
What's left is the work in your control. Fill in your Business Profile completely and keep it accurate, so relevance has something to match. Earn reviews and replies to them, and keep your name, address, and phone number consistent so other sites that mention you agree with your own.