I'm not a pro photographer. I've been using a Nikon D5100 for a long time. But lately, I'm facing a problem that while taking a picture, there's a black line along the edge of my photos. See the sample photo below.
What is causing this, and is this something I can fix?