Detailed history and assessment of your lower back is required on basis of which one can comment if you can start gym or no. Significance of XRAY showing reduced disc space can be quantified on clinical assessment.
Next Steps
See a sports physiotherapist, who will guide you which exercises are safe to start with
Health Tips
Do not rush into lifting heavy weights.