I cut my foot on glass very painful. What the best thing to do?

Get it examined. You need to have this checked to make sure there is not glass in the wound or that you have not cut a nerve. Need to make sure there is not an infection starting.