Coffee. How much is too much?

How can you gauge if the amount of caffeine you’re having is okay or is creating more harm than good?