Based on the photo and the description, this is a very minor, clean injury - a small superficial cut near the nail with minimal bleeding that stopped quickly.
You may need a TT shot if:
Your last TT injection was more than 5 years ago, OR
You are not sure about your vaccination status.
Next Steps
Clean the area with soap and water
Apply mupirocin or fusidic acid ointment twice daily for 2–3 days
Keep the area dry and avoid tight footwear
Watch for signs of infection: increased redness, pus, swelling, or severe pain (unlikely)
Health Tips
TT injection is not necessary unless your last dose was more than 5 years ago.