Headlight bulb out

Greetings, I can pretty much assure that’s it’s something very minor, but wanted opinions. At night my passenger headlight bulb stops emitting light (turns off/seems like bulb is burnt out) when I hit a bump. It comes on/stays on if I hit another bump. I’m assuming that it either simply needs a new bulb or I just need to pop the hood and adjust the bulb in the headlight fixture. I was seeing if anybody else dealt with this, and just by an off chance it turned out to be something bigger.

Thanks,