The answer is rotate. Garlic is an allium, same as onions/leeks. Best to rotate these so you get a break. Treat them all as one crop, so do not follow any with another allium.
If you dont you may have problems, the worst of which is white rot. Both Tim and EJ can tell you tails that will send shivers down your spine!
Jerry