Yeah the game mechanics can be over complicated. Basically each food has a different way to be prepared. By pressing 1 you use the boiling gun, 2 the roaster gun and 3 the frying gun.
You want to avoid boiling apples because is gross for example. For a full tutorial and explanation on how to cook each food you can press esc and get a list.