A retinal detachment is an ophthalmic medical emergency.  If you experience a sudden onset of flashing lights or floaters or a dark curtain over your vision you should go to eye casualty.