welcome to HealthcareMagic from the very description it seems that you are nervous and worried too much
you are not diabetic?
sometimes erection is not there . it happens to most
nothing to worry about it
but if you are having weakness of lower limbs
you should not delay consulting physician and get checked up and tests done to reach a diagnosis and get proper treatment
hope you be all right soon