that's a pretty sketchy description...my opinion based on what you did say:
remove the headbolt nuts, make sure the headbolts are fully seated in block, retighten the nuts.
if this is the only problem, it should start and run again.
if/when you get it running, check gaskets and replace if needed.
good luck...welcome to MBc.