Pain could be because of slip disc which is putting pressure on your nerve n giving you pain in legs. It can get corrected with Physiotherapy n Core Rehab. Start Physiotherapy at the earliest.
Health Tips
Avoid bending forward, avoid lifting weights, stop workout for few days.