for example on rung 1
press on the line you see, on the right handside a dashed rectangle will appear, now click one of the blocks above (a function block will appear, default with ADD, highlight the ADD and press F2 (input assistant)
when you have made a program for yourself already it will appear in the list.
attention the other rungs will be processed after the called program is finished, so be aware of timing.