Chosen Solution
I do not know from which exact part of the gears is the sound coming….all i know is that when i shift into the first gear then the bike starts making some sound and does not change till i give it a shake.
If you only have the problem with first gear, then problem may just be with the derailleur limit screw adjustment. If you study the derailleur carefully, you should notice 2 special screws that limit the distance the derailleur can move inward or outward. When the derailleur reaches one of those limits, part of it hits against one of those screws, preventing further movement. So first off, turn the bicycle upside down or put it on a stand so you can see what’s happening while you turn the pedal and try to shift. As you try to shift to first gear, see which screw is limiting the movement. Then try turning the screw a half turn in the direction that allows more movement. Try shifting in & out of first gear now. If the chain still rattles without shifting into first, turn the screw another half turn and try again. If you keep on turning the screw, you’ll eventually get to the point where the derailleur can move too far and push the chain past the gear (and possibly off the entire sprocket set). Just pay attention to what the derailleur is doing and this shouldn’t be a problem.
I agree with cityzen, but also derailleur hangers are often knocked out of alignment without the owners knowledge. Realigning derailleur hangers require special tools and a true rear wheel. If limit screws are not the problem I would check the alignment of the derailleur hanger by putting the bicycle in the largest chainring on the crankset and the smallest gear in the rear. Visually draw a line from the smallest gear and make sure the smallest gear in the rear lines up vertically with the pulleys in the rear derailleur. If it does not then you may have a derailleur hanger alignment issue. Other things that can cause drivetrain noise are a worn chain, bent derailleur cages, derailleur cable tension, and worn out pulleys on the derailleur. Good luck!
It is irresponsible to offer suggestions to solve this without putting my hands on the bike. You say that it occurs when you are in 1st gear. Is that 1st gear on the wheel AND at the crank? What sort of sound are you talking about? Does it happen while you are pedalling only? Have you crashed the bike onto the right side of the bike? What is the condition of the chain? Rusted or kinked, or any stiff links? Why would the sound stop if you shook the bike? There are so many questions that need to be answered. Offering a solution such as adjusting the limit screws is jumping to conclusions without doing the proper investigation. I would never tell a client that I know exactly what the problem is without having put my hands on the bike first. A good mechanic does exactly that. Asks relevant questions and does proper investigating to solve problems.
It needs a little bit of repairing. Here is a GUIDE.