You can knock down anything loose in the crack and vacuum it, then repair it with, for example, Lagavägg from Finja. Once you have repaired it smoothly and puttyed and treated the wall in preparation for painting or wallpapering, you apply adhesive sealant in the corner before the final surface.