Google earth engine: calculating the NDVI from Sentinel 2

I’m new and I want to extract the NDVI from Lansdat 8 pictures. Could you give me the script?