Every tyre puncture can be a bit different, but there are common rules of thumb when it comes to a repair.
If the damage has occurred within the central 60-70% of the tyre's nominal width and it's a small hole of 6mm or less, it can usually be repaired without any issue.