Ford explorer

2000 ford explorer tail gate doesn’t work all the time. i think it’s the electric lock. how do you fix?

You could try spraying it with some cleaner and then some lubricant. If that does not work, take the lock out and look it over.