I'll assume what you meant, and you can clarify if I am wrong.
Suppose light is coming from a source which is far away compared to the radius of the sphere, and suppose the flat side of the half sphere faces the source. Light entering the flat surface is normal to that surface and so refraction does not cause the rays to bend at that surface. Inside the glass we still have parallel rays normal to the flat surface traveling toward the curved surface.
At the curved surface near the center of the lens the rays are still close to normal to the surface and pass through the glass-air interface into the air. Going away from the center the angle of incidence increases and refraction bends the rays more and more according to Snell's law. The center of the sphere acts as a lens focusing the rays in the air just past the spherical surface.
For the central portion of a lens made of typical glass the rays will focus at a distance of about twice the radius. Further out from the center the rays bend more and reach the axis closer than the focal point of the central rays. Even further from the center of the lens the angle of incidence exceeds the critical angle of 40-45 degrees in typical glass and instead of refracting through the glass air interface, the rays reflect.
The angle of reflection equals the angle of incidence and the rays near 45 deg of incidence pretty much take a sharp 90 degree turn across the sphere where they again encounter the surface at pretty much the same angle of incidence and reflect again to come out the flat surface traveling back toward the source with varying angles.
Continuing even further from the center, the angles of incidence get steeper and the net angle of the ray upon reflection becomes more and more obtuse. Now the ray will reflect more than twice as it rattles around the perimeter still to eventually emerge out the flat side.