Pea sized lump on anus

I have had a lump on my anus for the past few days, it is not painful, pea sized and hard. I am concerned if this should be examined by a gp