Don't oversimplify issues. It is better to seek constructive solutions than to look for blame. Low morale is often a factor in a pupil's decision to play truant. Since there is usually no single cause there is no single solution. Effective action means collaboration.
Prevention is better, and easier than cure.
Take action early. Set high expectations. Be willing to listen to pupils' and parents' points of view. Consider the attractiveness and relevance of the curriculum from the pupil's perspective. If the ethos of the school and classroom is good, truancy is more easily prevented and dealt with.