The most frequent cause of infection with any piercing is touching the piercing or jewelry with unwashed hands or contact with unclean items such as clothing, bedding and hair.
Any other common sense things you can do to keep your piercing clean will also be helpful. Staying out of pools, hot tubs, hot spring, etc., will help speed the healing process by keeping bacteria out of the piercing.