If a person has STD like gonorrhea, or syphlis or herpes, does it mean he/she is near to death?

No. But these are potentially serious medical conditions that need to be treated promptly for the best long term outcome.