Solar flare on a star