Stop the Stinging and Itching of a Bee or Mosquito Bite With an Onion

I read that you can rub a cut onion on a mosquito bite or bee sting, and the anti-inflammatory powers of the onion will take away the itching or stinging.  I have not actually tried this but plan to next time I’m bitten by a mosquito or stung by a bee.  There are a lot of natural remedies that I would love to find out about!