Thanks for sharing your query with us
You seem to be having a furuncle
over your right leg. Treatment requires warm saline compresses of the lesion followed by application of antibacterial cream like mupirocin
cream twice in a day. If its too painful then an analgesic
can be taken.
The lesion near your anal area probably seems to be haemorrhoid or piles. For the same a consultation with surgeon is required.
Hope that helps. Take care