Three months of confinement. This isn't a punishment of confinement in Fang Lin's residence, but being imprisoned in a cave. He must stay there for three months without leaving the cave at all.
The cave, known as the Demon Suppressing Cave, is an ancient cavern that was originally used by successive Sect Masters of the Purple Mist Sect to imprison powerful demon beasts.
Over time, no more demon beasts were confined there, and it became a place to imprison disciples instead.
Those disciples that committed offenses would be imprisoned there for a duration based on the severity of their offenses.
The harshest punishment was suppression for an entire lifetime.
They would be confined in the Demon Suppressing Cave for their entire lives, never seeing daylight again, until their deaths.
A three-month confinement in the Demon Suppressing Cave, such a punishment, was not too severe in reality.