Someone said when im sleeping that person will shave off my beard and i said i cant i laughed saying why are you looking at me like that. Then i said maybe it will grow and laughed at the way the person looked at me.
You´ll lose your peace of mind if you consider about every things you do or say or imagine if it´s shirk or kufr or some sort of sin. Focus to live your life, stop wondering everything and read the Quran. From there you will find the best ways to avoid sins and live normal life.
I don't see how that's shirk. Laughing at other people is a sin but is not shirk. Shirk is to regard God in a sense of lesser form. None of what you mention has to do with shirk