Lump under arm

I noticed i had a small lump under my arm, it's not visible, but I can feel it. It's hard and it hurts a lot when I'm pressing it, I know it can be a swollen lymph gland or something, but should I get it checked out?