Hello. I can understand,how you feel about it. These are small issues can be handled very easily. You need to learn a few techniques to cope with these situations. Meet your school counselor and they will help you cope with these social situations.
Next Steps
I would suggest, whenever you feel shying away from the situation or people, force yourself to go and say hello to them. to your surprise,you will feel much subsequently.