Hello, sorry to hear that. Can you tell me what model is your device?
I can imagine 2 situations for the error:
1- corrupted download, maybe deleting and downloading again will fix;
2- your phone need permission to install file from unkown sources, you can check on: Settings → Security → Unknown Sources. Then you can enable there.
If the problem persist, please let know.
Good luck :)