If you’ve used up all your yarn, add a new ball of yarn to keep on crocheting. This is called “joining” yarn.
Adding a new ball of yarn in crochet uses the same technique you would use when changing color, but instead of introducing a new color, introduce a new yarn ball.
You can watch the videos to learn it step by step: