Changing a headlamp on a 2005 Honda Accord - Problem! Please help

My wifes 96 Accord…One side wasn’t bad…but the side where the battery is…I had to remove the battery to get my arm in there…Only had to replace the lights once in the 10 years we owned it.