65 dartman is correct about the adjustment but don't do it until you have determined if your hinges are good or need to be repaired/replaced. If the hinges are bad it will be a temporary fix at best.
Remember, this is also a safety issue and adjusting a door latch incorrectly can affect how well it stays closed. That's why you need to determine what's wrong first.