Will it teach you not to go barefoot? (7)
I believe the answer is:
trainer
'will it' is the definition.
I can't tell whether this definition defines the answer.
'teach you not to go barefoot?' is the wordplay.
I cannot really understand how this works, but
'teach' could be 'train' (training is a kind of teaching) and 'train' is present in the answer.
The remaining letters 'er' is a valid word which might be clued in a way I don't understand.
This explanation may well be incorrect...
Can you help me to learn more?
(Other definitions for trainer that I've seen before include "Terrain (anag.)" , "Soft shoe, small aircraft" , "Machine that simulates the conditions of flying a plane" , "Sports instructor" , "Sports shoe" .)