how to block referrer spam

how to block referrer spam