Remember - should a unicorn get close enough to touch you with it's pingers then you are most likely dead.
In the unlikely circumstance you live in spite of the odds, thrust several fingers into the gonophore sphincter, wherein two or more eggs are likely to be exiting during its excitable state. This should agitate the unicorn enough momentarily allowing you to escape being impaled on the wildly flailing bile duct.