Valve insert/valve metal body flown out/pressed from car tires

Good day together! I think the hanged picture says everything. Can I put it back in without any problems? Do I need a certain glue or do I keep it that way even when it is properly pressed in again?