Mac executable – error when downloaded from Google Drive

Can someone please urgently give a solution to the ” dmgName is damaged and can’t be opened. You should move it to the trash.” – error. Works fine on my mac but whenever I download the same dmg from google drive I get this error. please help.