1999 Mazda Protege

my right headlight went out, so I replaced the bulb. it still didn’t work, so I checked the fuse. Still not working. What else could it be