Hello. Can I swim with earplugs with burst eardrum?

Burst eardrum. Your instructions should have been not to swim as long as the defect is present. You do not want to get any water into the middle ear as the faction risk is high.