“Nail” in Chinese is 钉子 (dīngzi).
这个人只顾自己,不顾别人,你要他帮忙,准得碰钉子。
This person only thinks about themselves and doesn’t consider others. If you ask for their help, you’re bound to run into trouble.
Example sentence from Tatoeba (CC BY 2.0).