Checkbox invoke server custom method

hello Radzeners
can you please tell me how can I do the checkbox custom method.?
some fields will be invisible till you check the box