How to create a material and assign to a geometry?

Its probably a noob question, but I come from Unity and it’s hard to understand.