There isn't really an official procedure for level drain or level loss; level drain isn't mentioned in the Grindhouse edition rules, referee book, or the more recently updated Rules & Magic. In fact, with most games in the retroclone genus that Lamentations of the Flame Princess comes from, there's no process mentioned for reducing hit point totals from level drain, although it's assumed that it exists. That being said, there's a few house rules I can suggest.
Roll a Hit Die for Level Loss
Roll an additional hit die as if you were gaining a level including applicable modifiers such as Constitution; subtract this hit die from both your current and maximum hit points, reducing your maximum hit points to a minimum of your class's minimum first level hit points. If this roll would reduce your current hit points to 0 or less, instead it reduces them to 1 (if you're feeling kind). If you're losing a level where you would have gained a static increase (levels 10 and above), you lose that static increase. This is like an inverted process of the procedure for gaining hit points on level increase on page 35. This has the advantage of being a very fast process, but will usually give the character greater or fewer hit points than they originally had at that level. If that bugs you, I'd suggest this other process:
Keep track of hit points at each level
If you (and your players) have the foresight to keep track of their maximum hit point totals at each level their character has, you can ask them to reduce their total to a given level when they are level drained. This process is identical to the one suggested in Lino Frank Ciaralli's answer. The downside to this is that if you haven't been doing it all along, it's not really possible to start now, and it does increase bookkeeping by quite a bit. In the event of magic effects permanently increasing hit points or granting an extra hit die (as happens in certain LotFP adventures), it may become even more complicated.
Hopefully either of these methods helps; if worst comes to worse, you can also turn to the LotFP forums and try badgering an answer out of the author.