Sounds like hemorrhoids...
Symptoms of external hemorrhoids may include painful swelling or a hard lump around the anus that results when a blood clot forms. This condition is known as a thrombosed external hemorrhoid.
In addition, excessive straining, rubbing, or cleaning around the anus may cause irritation with bleeding and/or itching, which may produce a vicious cycle of symptoms. Draining mucus may also cause itching.
Medical treatment of hemorrhoids is aimed initially at relieving symptoms. Measures to reduce symptoms include:
-tub baths several times a day in plain, warm water for about 10 minutes
-application of a hemorrhoidal cream or suppository to the affected area for a limited time