Is this something I need to get checked out?

So for the past month I’ve been having pain in my right knee. Only when I work a certain shift at work. If I work any other shift I’m fine. It hurts so bad by the time I get off of work that it makes me cry. If I lay down I have to bend it and I put ice on it. And sometimes make my husband rub it. It swells up and gets warmer then the other knee. I am a bigger girl but I’ve worked this job for a year now and it’s just now bothering me. Does anyone know what it might be from? And is this something that I should get checked out? I feel like it’s not something that important but I’m not sure....