We are all aware of what one feels like when one does NOT have a sexual outlet. Remember being horney teenagers? People who keep their birds as unmated single birds have to expect their "babies" to grow up, and then pick their owners as their mates; it is inevitable: they have no other options available to them. The bird's only outlet is masturbation and not allowing this outlet for them is cruel and psychologically damaging; in my opinion. That is why I taught my Meyers to use a small suffted bear as his outlet for sex. It worked great and he went back to that toy every time he needed relief. He would come to me first, singing to me, courting me even trying to mate with my hands. I would prevent him from consumating the sex and then he would go and use the bear. He was a very happy birdy until he died six years later.
We can't even neuter our birds and decrease their sexual cravings as we do dogs and cats. So if a tiel or a lovie or a budgie comes to me and humps my head a few times and gets off, I do not get upset; I let them finish and got their way. I know you guys feel I am wierd about this attitude, but in my view it is only fair to the birds. Most of my birds pick same-species mates and they take care of themselves. The few who don't, a tiny depost of sperm on the hand or head is no problem for me.
One thing rehabilitation nurses learn that many other nursing disciplines don't teach is the inherent need for sexual release, present in all living things. We are taught how to assist our patients to reclaim their sex lives after or even during their physical rehab period. It is my belief I am making my birds much happier by giving them this outlet. If you can't in all conscious put up with their sexual acts on your hand, fine; find them a representative object and just slowly insert it between your hand and the bird. The bird will eventually change his focus and the object will be his lover, while you remain his loving owner.