I put a new the engine in my car 3 days ago and it make a knocking sound at star on 2000 Ford Explorer

when i start the car it makes a knocking sound and it goes away when it wearms up but if I let it sit for 1 hour and start it again it amkes the knocking sound what can be the problem