Treatment of anal itching depends on the cause of the problem. Try an over-the-counter (OTC) cream or ointment containing hydrocortisone (Cortaid, Preparation H),but it is to be applied sparingly to the affected area. A protective ointment that contains zinc oxide (Desitin, Balmex) also may help. If your symptoms are worse at night, please take an antihistamine like Benadryl to reduce itching until topical treatments take effect.
I hope it helps. Take care and please do keep me posted in case you have any additional doubts. Kind regards.