It is best to detangle wet hair.  When the hair is wet, conditioners will be more easily absorbed by the hair shaft.  When this happens, the hair is slicker, so a comb or your fingers will slide through it more easily.  Wet hair is also more elastic than dry hair, so it is less likely to break as you’re combing it.