How to avoid user entering some email domains and completing the webform?

I had it set up correctly in Drupal 7, I seem to remember with Webform Validation (although I don’t remember the procedure, at the time), but now on version 6/D9 I feel a bit lost.

How can this be done in this version?

Thanks to whoever can give me some help