battery light just whent on? on 1991 BMW 325i

should i just change it ? is that any way i can test the battery ?

Asked by for the 1991 BMW 325i
it sounds like an altenater problem not your battery, check fuses first though
i whent to a near by autoparts and i charged the battery,but the light still on,i will check the fuse as u suggested me.again thank you for ur help