Have a 1999 Honda Civic with blown motor bought 1995 motor 1.5 will it work?

it has a moter