To prevent salmon cakes from sticking, use a non-stick pan and heat it properly before adding oil. Ensure the oil gets hot, then gently place the cakes in the pan, giving them space. Cook until they develop a crust before flipping, reducing the sticking risk.