Depends on where you bought the spare part, what tools you used for the repair and how you performed the repair.
Retrace your steps one by one and make sure everything is okay and well-connected in place.
Secondly, make sure vibrations is not disabled in settings or via the mute switch.
Good luck