How do i put a variable in a text box

how do i put a variable in a text box