Lift up on the door, if it is bottom supported, so that the bottom of the door is slightly above the bottom track. Pull the door forward so that it is angled and slide the door out of place. Lift a top-hung door once you have aligned the notches on the track and the door and angle it out to clear the rollers through the notches and remove the door.
Inspect the rollers and clean out any dirt or debris that may be clinging to them using a rag.
Spray the rollers with a lubricant and test the rolling with your finger. They should move loose and freely.
Inspect the track and clean out any dirt or debris using a rag. Also inspect the track for any bends that may prevent the roller from moving freely along. Bend the track back into place carefully, moving the metal slowly.
Place the door back into place and test the movement of the rollers.