This is a very common error made by beginners. It happens because when you first start knitting in the round for the first couple rows, the work turns itself inside out, and you don't have the experience to know it. So you need to be very vigilant that you are holding your work correctly.
ALWAYS pick up your knitting with the working yarn attached to the right-hand needle. And you MUST always work clockwise. When working with a tube, the side with the stitches being worked is ALWAYS nearest you -- not the far side!
If you do get turned inside out, just turn your work back the right way, and you will be fine. As long as you keep these points in mind, you should be okay. It all comes with experience --- and good instruction.
I would very strongly suggest that you take a beginner class in anything at your local yarn shop or library or guild or church group. You will learn so very much!!