Anyone can ride in a straight line. The good riders are the ones that can handle difficult curves and corners on their motorcycles with ease. Learning this skill takes knowledge and practice. While I can't help you with the practice part, I can point you in the right direction when it comes to knowledge. Here are some great articles that will tell you what you need to know about riding your motorcycle around curves and corners.
Riding in the Zone takes a no bullshit approach to this topic as you can probably tell from the title. The article hits on all of the important aspects of cornering properly from throttle control to body position and more. If you want to learn the basics quickly, this is a good place to start.
This article, written by Vicki Sanfelipo, RN – Author of "A Crash Course for the Motorcyclist", takes more of a narrative approach to teaching you about curves and corners. Vicki discusses a few experiences the author has had while riding curvy roads. This is a great way to learn about riding curves if a typical "how to" article is a little too boring for you.
If you're looking for some helpful and actionable tips on taking corners and curves on your motorcycle, this article from Lazy Motorbike is excellent. While most tips lists only cover a few things, this one is highly detailed and shows you almost everything you need to know.