I active walk the first hundreds of meters (letting the GPS time to warm up) and run easy the first km. At the end, easy last km. That's it.
Science shows that static stretching before is counter productive. Static stretching at the end depends on you: it can be productive or counter productive. If you feel the need, you can do it, bit if not, nothing wrong to not do it.