Recurrent Staphylococcus infections can be caused by lingering Staphylococcus bacteria in the body. You might need a longer course of antibiotics.
Your living environment can also play a role. For instance, in the case of skin infections, your laundry detergent might not be removing all the bacteria from your towels, sheets, and clothes. Additionally, if you live with multiple people, you could be passing an infection back and forth in a cycle that can be difficult to break.
If you're getting repeated Staphylococcus infections, it's a good idea to let a doctor know. It's also smart to disinfect the surfaces of your home and to thoroughly wash your sheets, blankets, towels, and anything else that could be carrying staphylococcus.