“Can't help” in Chinese is 不由得 (bùyóude).
不由得想起了故乡。
I can never forget my hometown.
Example sentence from Tatoeba (CC BY 2.0).