How can i display a textbox based on user selecting one of the checkbox option

How can i display a textbox based on user selecting one of the checkbox option

If one of the checkbox option for a field is Other i want to show a textbox next to it when user selects that option. How can it be done on a form.