At the same time you were feeling independent, you may have felt highly vulnerable. For most teenagers, setting limits helps them to feel more secure in the long run. The trick is to establish and enforce your limits with mutual understanding and respect. You should agree on reasonable rules for living together. An ability to let go when the situation is not harmful.
Experience can be the best teacher.
Positive reinforcement, whenever possible. Teens, in trying to prove themselves, need all the support you can give. A stable point of reference. Consistent, fair treatment and logical consequences provide the best framework for getting along. Recognition of your own limits.