Hi Patrick,
You don’t give any context to your question, so I’m going to guess, that you are trying to follow along with some Tutorial and use a more modern Bleder Version.
Blender 4.2+ uses a new version of EEVEE and you should check out the CORE Fundamentals of Materials and Shading, especially this Lesson: https://cgcookie.com/lessons/raytracing
Or just use the same Blender Version as in the Tutorial, as is recommended for beginners (in the broad sense).