Yes, i think you should visit a doctor.
If you wish to try a home remedy, do go in for a Sitz bath with some diluted betadine
In addition Ibuprofen
400/600 mg three times daily as an anti-inflammatory agent may help relax you provided you do not have an allergy to the medication.
It may just be a hemorrhoid
from your description & perhaps a local anaesthetic
cream such as 2% lidocaine
or EMLA may help relieve the pain further.
Do make sure you drink plenty of fluids & consume lots of fiber & ensure the stools are soft or use a commercially available stool softener!
Cheers & Good Luck! Wish you good health!
Dr Praveen Rodrigues MD