Clean it up, prime it , jack it up with a port-a-power/ bottle jack blocks of wood etc. might have to do a little tapping with a hammer to stress relieve it so it stays up, run a bead of heavy bodied seam sealer across the beam. Block it up till dried/ overnight. Need to get it up though so it doesn't pull the roof down when let loose.