Stephen Fleming says Shane Warne's positive drugs test is a warning to all players about the dangers of non-prescribed medication.
Fleming says players need to be careful what they take
Australia leg spinner Warne pulled out of the World Cup on Tuesdayafter testing positive for diuretics.
Kiwi skipper Fleming said his case highlights the risks faced by players who take medication without checking whether they contained banned substances.
He said: "I'm extremely shocked and surprised at the situation and I hope, knowing Shane that I do, that it works out for him.
"There are risks and the players have to understand, probably more so when they're out of competition, about exactly what needs to be done."
Fleming said players were aware of athletes from other sports whohad failed doping tests while using cough medications and asthmasprays.
But he added most cricketers knew very little about what to do while being treated for injuries out of competition.
"It's very difficult when you're out of competition and you're out of the umbrella of your medical panel," Fleming said.
"It opens up an area which we've probably got to make a bit more thorough about because there is the opportunity for players to make mistakes."
Warne, one of Wisden's five best cricketers of all time, failed a test taken on 22 January in Australia.