Warm down properly no matter how exhausted you are after the match. Go for a 15 minute walk for example (take you hydration or or recovery drink with you). If you can manage it alternate with light running/walking.
To put it in perspective of how effective a proper warm down is (not talking about stretching, that's not warming down) you can reduce next day muscle pain by up to 100% if you warm down properly.
Then do your stretching - but don't overdo it. Hamstrings/quads and calves can suffer injury from overstretching post work-out.