Whimsicott can use Tailwind, but its attacking partner is in danger. Whether Tailwind helps depends on that partner staying available and having a useful attack afterwards.
Tailwind raises effective Speed, not move priority or durability. If the only attacker has fainted and the reserve has not entered, rethink who will attack and what the remaining turns can achieve.
A simple two-turn plan can help: who changes Speed now, who attacks or protects, and who tries to attack which target afterwards? Update that plan when new information appears; it need not promise success.
If the opponent establishes Trick RoomPsychic, slower Pokémon usually act first within the same priority bracket. More Speed does not automatically solve that position. After using Tailwind, notice whether it actually gave a teammate another useful action.