Lighting

I'm having lighting in my lower half and it comes and goes but it's painful what should I do ?