Create an automation with a segment condition
You'll be able to branch an automation based on whether a contact belongs to selected segments. For multiple segments, choose whether they must match any or all. Contacts who match follow the Yes path; others follow No.