Shamima Begum case: How do you deradicalise someone?

It comes amid debate over how to deal with British IS recruits, following the case of Shamima Begum.