How to Do SEO: A Complete Step-by-Step Guide
November 16, 2026
So you have a website, but Google is not sending you customers. You know SEO can fix that — but how do you actually do SEO, step by step, without missing anything important?
Short answer: SEO is done in seven clear steps. Find the words your customers search for, build pages that answer those searches better than anyone else, keep your website fast and healthy, win your local area, earn links from trusted sites, and make sure AI tools can find and quote you too. Do these steps in order, keep them going every month, and rankings follow.
This guide covers every point in simple words — the same process our team runs for clients at Mayo Digital Agency. If you want the basic meaning first, read our guide on what SEO is, then come back here for the doing part.
First, How Search Engines Work
Every SEO step makes sense once you know Google's three jobs:
- Crawling — Google's software visits pages and follows links to discover what exists.
- Indexing — Google stores and organises those pages in its library.
- Ranking — when someone searches, Google picks the pages it believes answer best and shows them in order.
Your job is to help Google at all three stages: make pages easy to find, easy to understand, and clearly the best answer. Google's own SEO starter guide says the same thing in their words.
Step 1: Find the Right Keywords
Keywords are the exact words people type into Google. Everything in SEO starts here, because a page can only rank for a search it actually matches.
- Start with your services. List what you sell and where you sell it — "plumber in Lahore", "buy wedding dresses online".
- Think like a customer. Customers search for problems and prices, not business names: "why is my tap leaking", "wedding dress price".
- Check the search intent. Is the searcher learning, comparing or ready to buy? Your page must match that intent, or it will not rank.
- Prefer long-tail keywords first. "Best SEO company for small business in Lahore" is easier to win than "SEO company" — and it brings buyers, not just visitors.
- Use free tools. Google Autocomplete, "People also ask", and Google Search Console show real searches without any cost.
Pick one main keyword per page. Two pages chasing the same keyword fight each other, and usually both lose.
Step 2: On-Page SEO — Make Every Page Clear
On-page SEO means everything you control on the page itself. For each page, check these points:
- Title tag: your main keyword near the start, written like a headline a human wants to click.
- Meta description: one or two honest lines that promise what the page delivers.
- One H1 heading that matches the page topic, then H2 and H3 headings in order.
- Answer early: give the main answer in the first lines, then explain. Readers and Google both reward this.
- Simple words, short paragraphs. If a 15-year-old cannot follow it, rewrite it.
- Images with alt text that describe the picture and, where natural, the keyword.
- Internal links: link related pages together with clear anchor text, so visitors and Google can travel your site easily.
- A clean URL like /services/seo/ — short, readable, with the keyword inside.
Step 3: Write Content That Fully Answers the Search
Google ranks pages that satisfy the searcher. Thin pages with 200 words of general talk rarely win anymore. Strong content has four qualities:
- Complete: it covers the whole topic — the main answer, the sub-questions, the examples — so the reader does not need another page.
- Original: your own experience, your own examples, your own data. Copied or spun content is easy to spot and easy to beat.
- Trustworthy: real author name, real facts, sources for claims. This is what Google calls experience and trust, and it matters more every year.
- Fresh: update old pages when prices, tools or facts change. A maintained page beats a forgotten one.
Step 4: Technical SEO — Keep the Website Healthy
Technical SEO is the engine room. The best content cannot rank on a broken site, so keep these points healthy:
- Speed: pages should open in about 2–3 seconds on a phone. Compress images and remove heavy extras.
- Mobile-friendly: most searches happen on phones, and Google ranks the mobile version of your site.
- Indexing basics: an XML sitemap submitted to Google Search Console, a clean robots.txt, and no important page blocked by mistake.
- HTTPS and no errors: a secure site, working links, and no "page not found" dead ends.
- Core Web Vitals: Google's speed and stability scores — covered fully in our technical SEO guide.
Step 5: Local SEO — Win Customers Near You
If your customers are in one city or area, local SEO is your fastest win. Set up a complete Google Business Profile with the correct name, address and phone, choose the right categories, add real photos, and collect honest reviews week after week. Keep your name, address and phone identical everywhere online. We run the same steps in our local SEO checklist for every new client, and our local SEO service page shows what is included.
Step 6: Off-Page SEO — Earn Trust From Other Sites
Links from other websites work like votes of trust. One link from a respected site in your field is worth more than a hundred links from random directories. Earn them the honest way: publish content worth quoting, appear on podcasts and industry blogs, get listed in real local directories, and build genuine partnerships. Never buy bulk links — Google penalties are real, and recovery takes far longer than the shortcut saved.
Step 7: GEO and AEO — Get Found in AI Answers
Search is changing. People now ask ChatGPT and Google's AI for direct answers, and tools quote the pages they trust. To be one of those pages, answer questions clearly and early, use headings that match real questions, keep your facts consistent everywhere, and build your brand's presence across the web — not just your own site. Our guide on what GEO is explains this new layer in full.
The Main Types of SEO at a Glance
Type | Focus | Example task |
On-Page SEO | Keywords, titles, content, internal links | Rewrite a service page around one clear keyword |
Technical SEO | Speed, mobile, indexing, site health | Fix slow pages and submit a sitemap |
Local SEO | Google Business Profile, reviews, local trust | Complete your profile and collect reviews |
Off-Page SEO | Links and mentions from other sites | Earn a link from an industry blog |
GEO / AEO | Being quoted in AI answers | Add clear, direct answers under question headings |
A Real Example: SEO for a Small Clothing Store
Imagine a small clothing store in Lahore selling wedding dresses. Here is the seven-step process applied to one real business:
- Keywords: they target "bridal dresses in Lahore" and "wedding dress price in Pakistan" instead of just "dresses".
- On-page: the bridal page gets a clear title, the price range answered in the first lines, and photos with proper alt text.
- Content: a guide on choosing a bridal dress by budget answers the questions brides actually ask.
- Technical: heavy dress photos are compressed, so pages open fast on phones.
- Local: the Google Business Profile shows real shop photos and collects reviews from happy brides.
- Off-page: a local wedding blog features the store in a "best bridal shops" list — one strong, relevant link.
- AI search: a clear question-and-answer section helps AI tools quote the store when someone asks for bridal shops in Lahore.
No tricks, no shortcuts — just every point done properly, in order.
How Long Does SEO Take, and What Does It Cost?
Honest answer: SEO is not instant. Most websites see clear movement in 3 to 6 months of steady work, because Google needs time to crawl, test and trust your pages. Anyone promising page one in a week is selling risk, not results.
Cost depends on who does the work. Doing it yourself costs time and learning. A freelancer costs less but covers fewer points. An agency costs more but runs all seven steps with a team. Whichever route you choose, judge it by one thing: steady growth in calls, sales and enquiries — not ranking screenshots alone.
Your First 90 Days: A Simple Starter Plan
- Days 1–30: fix technical problems, submit your sitemap, complete your Google Business Profile, and research your keyword list.
- Days 31–60: rewrite your main service pages around one keyword each, and publish two helpful guides.
- Days 61–90: earn your first quality links, collect reviews weekly, and add clear question-and-answer sections for AI search.
After 90 days, repeat the cycle monthly: measure in Search Console, improve what is close to page one, and keep publishing.
How to Measure SEO: The Numbers That Matter
SEO without measuring is guessing. You do not need expensive tools — Google Search Console is free and shows the numbers that actually matter:
- Clicks: how many people visited from Google. This should grow month by month.
- Impressions: how often your pages appeared in results. Rising impressions mean Google is testing you on more searches.
- Average position: your typical ranking. Pages sitting at positions 8 to 20 are your best quick wins — improve them first.
- Click-through rate: if many people see your page but few click, your title needs work, not your content.
- Enquiries and sales: the only number your business truly banks. Track which pages bring calls, WhatsApp messages and orders.
Check these once a month, compare with the month before, and write down what you changed. SEO grows fastest when every month builds on real data instead of opinions — a page that moved from position 15 to 9 after a content update is proof of what works for your site, and that lesson is worth more than any general tip.
Common SEO Mistakes to Avoid
- Targeting the same keyword on many pages, so they fight each other.
- Copying content or buying cheap bulk links.
- Writing for Google instead of for the human reader.
- Ignoring mobile speed because the site "looks fine" on your own phone.
- Stopping after one month because results take time.
- Never checking Search Console data — flying blind.
Final Words
SEO is not magic and it is not one trick. It is a system: keywords, pages, content, technical health, local trust, links and AI visibility, all working together, month after month. Cover every point in this guide and your website will steadily outgrow competitors who only do one or two of them.
Want us to run this process for your business? Message Mayo Digital Agency on WhatsApp at +92 309 4642704 for a free SEO review of your website — we will tell you honestly where you stand and what to fix first.
Mayo Digital Agency helps businesses grow with SEO, Google Ads, and data-driven digital marketing strategies. We boost Google rankings, AI search visibility, and lead generation. Ready to grow your business? Contact Mayo Digital Agency today and turn your online presence into real business opportunities!
Written by Noman Ahmed Mayo, Founder & SEO Lead, Mayo Digital Agency — SEO, GEO & AEO specialist with 4+ years of experience. Author profile: LinkedIn

