You will need to show your cat flap works.
Hold it fully open at first, and have a reward ready on the other side.
Graduate to partially opening the flap, and your cat should quickly get used to the idea.