What do I do if I accidentally cut myself while shaving?

Thanks for your question! If you accidentally cut yourself while shaving your legs or underarms, clean the area with warm soapy water, and pat dry. You can also apply a small amount of antibacterial ointment such as Bacitracin or Neosporin and cover the cut with a Band-Aid. Stop shaving the area until the cut has scabbed over and completely healed. To avoid cutting yourself while shaving, use shaving cream (with a moisturizer or aloe vera), a clean new razor blade (Never use a dull blade), and take your time to shave in the direction that your hair grows, using slow strokes.

If you accidentally cut yourself while shaving your pubic hair, take a bath and wash the area with mild soap and water. Do not use perfumed soaps as they may sting. Pat the area dry. Keep the cut clean and dry and continue warm soaks for comfort measures. Avoid shaving until the cut has completely healed. Consider using an electric razor instead. If there is no improvement after a couple of days, call your health care provider.

Read more here:
https://youngwomenshealth.org/2013/08/22/removing-pubic-hair/