I AM USING THE CONSTANT DETAIL BRUSH FOR SCULPTING. IT WAS WORKING FINE BUT SUDDENLY IT IS NOT GIVING DETAILS THAT I WANT. RELATIVE DETAIL BRUSH IS NOT WORKING EITHER. HOW CAN I FIX THIS?
Sounds like it can be a couple of things. I think to rule out a glitch in Blender. try doing a new object and see if it works there, just to test it's not the brush or setting that is glitching out. Most probably is that you might have reached the limit of detail you have the settings at. Try lowering the detail size so you get smaller pixels or in the case of constant, remember that it is not dependent on how far or close you are to the model, so if you are too close and your detail is broad, you wont see much changing.