Every weapon has a base damage it deals. This is represented by some die (d4, d6, d8, etc.). Assuming nothing else modifies the damage dealt, if a creature hits another with a Basic Attack, it's player rolls this damage die and the target takes that much damage.