Why did I stop drinking coffee after 12 PM and so should you

Recently I stop drinking coffee after 12 PM due to the effects of caffeine on sleep. Understand how and why you should too