Depends on what type of guitar you have.
You insert the strings in the front for some guitars, or in the back for others.
If you do buy a new set, keep the old strings in case you break another. That will help you until you buy another set of strings.