A variety of sexually transmitted diseases are caused by viral infections, the more typical one being AIDS. AIDS is caused by HIV infection, and sexual transmission is the main route of transmission. It can cause damage or impairment of the body’s immune system, leading to various opportunistic infections and tumors, and can lead to death as a serious disease. Hepatitis B is a relatively common sexually transmitted disease. Hepatitis B is mainly transmitted through blood, close daily contact, and sexual contact, and can cause degeneration, necrosis and death of liver cells, which can lead to cirrhosis and liver cancer. In addition, there are other STDs caused by viral infections, including genital herpes, which is caused by herpes simplex virus type 2 and is mainly transmitted by sexual intercourse and can cause herpes or ulcers in the genital area with itching and pain; warts are caused by human papilloma virus infection and can appear as bumpy growths in the genital area.