What would you do if you caught your child looking up sex videos?

Tonight my husband caught my child looking up my little pony sex videos on her tablet using the voice search feature. She is five years old and she has had a tablet since she was three. She is supposed to only have YouTube for kids and she gets to watch it for 30 minutes a day but she downloaded the YouTube app and began searching for sex videos.

I have no idea how to talk to her about sex what am I supposed to do. I don't even know where to start. She no longer has a tablet.

Do I take the tablet away? How do I talk to a 5 year old about sex? She told me she searched for the videos and it wasn't something that just popped up on YouTube. I looked at her search history and she watched two videos and a search for Superman sex videos. Please help