A loose headphone jack may either be a mechanical damage (which will definitely be needing an expert) or a personal error (which you can take care of personally). To fix loose headphone jack, you have to understand why my headphone jack is loose in the first place. People, in trying to figure out how to fix loose headphone jack end up making it worse just because they don't understand how it works and most smartphones these days come in designs that make it impossible to open without being damaged. In most Android phones, the head phone jack is firmly attached to the motherboard of the phone, so a loose headphone jack would have most likely been caused either due to extensive use, abuse, or because of foreign bodies.
Listening to music has become a very huge part of using smartphones and many people prefer making calls through their headphones, apart from your headphones, the next key component needed is the headphone jack.