Yelling is probably most effective.
Its important to stay in clean air so sometimes its better to tack away well in advance, if they do see you in time there is a chance they will gybe right on top of you.
Or worse, they do a crashgybe and they capsize.
(Thats how I nearly had a mast land on my head at the last worlds).