From history it seems that you might be having few problems giving you this problem.
You might be having worm infestation giving rise to severe itching
, particularly at night.
Due to severe itching there might be bacterial infection in your anal and vaginal area.
Go for one antibiotic medicine course.
Go for anti-helminth medicine course.
Apply triple acting cream locally.
There might be having possibility of having internal piles as well.
Keep local hygiene clean, dry and airy.
Ok and take care.