How can l farm a valley for gain medal.

l am atacking a valley, after 2-3 atacks, it saying me there is no defend troops.

What must l do then?