To get your foal to graze, you generally need to wait until it is old enough, properly trained, or strong enough. I cannot say for certain since I have not managed it myself yet, but one tip is to visit Ginger's house, check the bookshelf, and look up horse grazing for guidance.