Self-Medicating with Fish Antibiotics?

Fish are given the same antibiotics as people including amoxicillin, ciprofloxacin, and penicillin, and some people are using these as a quick and cheap way to try and cure infections without seeing a doctor. How dangerous is this?