Beat (something) into (someone’s) head

To force someone to learn something.

The teacher thinks that she must beat the material into the students’ heads.