Welcome to healthcare Magic!
You can not have different worms in different part of the body- the scalp
, the mouth.
reason being the worm you see in the wounds are the aggot phases of certain flies. The flies lay eggs in the wounds and the the eggs hatch to make maggots or the worms.
The flies can not produce maggot unless you have a neglected wound. i hope that is not the case with you and hence they are not maggots but may be organised keratin, mucus or dead skin to resemble a worm.
You may have such feelings if you are suffering from anxiety neurosis
You should consult a physician of your locality for a more pinpoint diagnosis and management.
You should improve the hygiene of scalp and shampoo hair thrice a week and keep the scalp dry.
I hope the advise would be informative and useful for you.