I'm a student.
beforehand is a adverb, and before is a conjunction.
I would like to say 'If you want to use these materials, you will have to inform me beforehand'.
The second sentence is correct, I think. 'I want my pupils to understand what I explain without shouting.'
Student or Learner