How to detect and stop routing requests to unhealthy nodes

Hi Team,

We are using traeik to route the requests to backend. If one of the node is unhealthy still traefik is routing the request.

Kindly let me know how to fix this issue.

Thanks,
Venkat