(covers information from several alternate timelines)
A solar flare (or solar plasma eruption) is an explosion in a star's atmosphere, that accelerates plasma into space at great speeds. By the 24th century, various techniques existed to trigger solar flares, including particle beams and electromagnetic pulses. The concentration of cosmic rays that can accompany a solar flare can be measured on the Ritter scale.
In 2266, a solar flare accompanied by high levels of cosmic rays was discharged by the sun in the Minarian star system. The USS Enterprise was forced to leave orbit around one of the Minarian planets to protect it's systems from the solar flare while its landing party of Kirk, Spock, and McCoy remained on the planet surface judging that the planets atmosphere would shield them from the flares effects. (TOS: "The Empath")
In 2364, Lieutenant Geordi La Forge told Captain Jean-Luc Picard that the solar flare activity on a star the USS Enterprise-D was studying was increasing. The shields were weakened by the flare activity, but managed to hold. (TNG: "Symbiosis")
While investigating a Dyson sphere, the USS Enterprise-D is pulled inside the sphere and observes the unstable star within expelling a solar flare, which Data indicates as Magnitude 12, Class B. (TNG: "Relics")
In 2371, Grand Nagus Zek talked to a representative of planet which had been affected by solar flares, damaging its agriculture industry. The Ferengi leader agreed to provide the planet with Kohlanese barley. (DS9: "Prophet Motive")
In 2373, Lieutenant B'Elanna Torres listed a solar flare as one of many factors that could interfere with USS Voyager's attempt to bring the Barzan wormhole to them with verterons. (VOY: "False Profits")
In the alternate universe, military shuttles were sensitive to solar flames and one cropping up might cause the occupants to be boiled in their seats, at least if a panicking Leonard McCoy was to be believed. (Star Trek)