Make character move randomly using AI

how can i use this to make a person walk realistically though?