To repair a damaged shingle, lift the edges, apply roofing cement for small cracks, or remove and replace it if severely damaged. Slide a new shingle into place, nail it down, and seal nail heads with cement. Ensure you use the right tools like a hammer and roofing nails for a secure fix.