Yup... what crassius said.... you can also run a compression check if you got a compression tester.
If it's a new engine it's most likely the head nuts came loose, this is a common problem. They only need to be torqued to about 10 ft/lb so don't over tighten or it could snap a stud or pull the stud out of the aluminum in the cases below.
You can usually see the oily residue around the head if they came loose. Another tip would be to get some regular nuts from the hardware store since the acorn nuts have been known to bottom out on themselves giving a fake torque reading when torqued, leaving the head loose after its torqued. Just take one of your acorn nuts with you and match it up. You can also get extra tall nuts from Fred at crmachine.com or from mzmiami on ebay if looks are important...