Sleeptrained baby keeps rotating in crib and waking himself up, do I intervene?

Baby keeps rotating like sideways in the crib and wedges his head in between the railings and wakes himself up. Do I go in there and correct every time? Should I let him figure it out? im worried he might hurt his head. TIA.