ICS Calendar platform

I added my ICS calendar, but I don’t know how to write some automation which sends me a notification 5 minutes before the next event starts. I don’t understand how to set up the trigger on the ics sensor.