After applying egg to your hair you don't have to shampoo the hair however you may want to shampoo the hair after your done with the eggs on the hair because of the egg smell.
Although the egg smell will be hard to get rid of and usually regular shampoo won't get all the egg smell out of your hair and you may have to wash the egg smell out of your hair several times before the egg smell fully goes away.