I don’t know how to start conversations

I was wondering how people can just come up with random ideas and topics in their mind and just start a conversation. I always wanted to talk to people around me but it’s so hard when I don’t know how to start the conversation. I know their name but I can’t just randomly ask them something. Does anyone know some tricks or tips on how to start a conversation.