Both testosterone and Viagra can be taken, but they both treat different problems. Either one can’t be used to treat both lack of sexual drive and erectile dysfunction. If a person has only erectile dysfunction with normal sexual drive, combining Viagra and testosterone has no added benefits, just Viagra would suffice.