How to catch DDOS

hello

how to catch DDOS in specific ip like the origin of the network fllood via client computer or specific IP?

thanks