Ensure both ends of the fiber cable are plugged into Fiber/SFP modules. You cannot plug a fiber cable into an RJ45 port.
Look for modules like the or PT-SWITCH-NM-1FGE (Gigabit Interface Converter).
Does Cisco Packet Tracer Have a Specific "Media Converter" Icon?