Small talk to stranger

How do you get good at it? I think my inability to maintain a conversation stops me approaching people