The "correct" plan in a position is largely dependent on the pawn structure. Pawn structures that occur very frequently, such as the Isolated Queen Pawn or the King's Indian structure, have been studied enough throughout history that there will be a plan or set of plans which are regarded as being "correct" for that structure.
If you have openings that encounter regularly, you might want to watch videos or read books about the plans associated with those openings. What weakness should you target, and why? How can your opponent defend that weakness, and how can you deal with those defenses? What weakness will your opponent target, and why, and how can you deal with it? Once you can answer these questions for the positions you're familiar with, branch out to positions that you don't encounter often.
Eventually you'll get to the point where you can be shown any position and be able to come up with a solid plan, regardless of whether you've seen it before or not.
I have a common problem, formulating a plan for the middle game all game long or short. I have this general idea that good chess is the ability to press on your opponents weakness, however, after opening might have been concluded, and assuming my opponent developed well too, how do I formulate a plan that'll help me transit into the middle game without jeopardising my position whilst threatening to break my opponents position with precision. Please, I need ideas, so I can become the master I pray to be.