Invest a lump sum in one go or monthly?

If you are in the fortunate position of coming into some money, perhaps through an inheritance, and you want to invest the money, should you invest a lump sum in one go or monthly? When I say investing, in this scenario I am talking about investing your lump sum in...