You shouldn’t swim 24 hours after getting the piercing and ideally avoid the activity till the piercing has healed.