Pubic hair removal could increase the risk of STD infection in three ways. The first is that microscopic cuts from shaving could make it easier for pathogens to enter the skin. The second is that disturbing sores could increase the spread of infectious materials. The third is that removing the cushioning hair could increase the spread of those diseases that are transmitted by skin to skin contact.
So should people stop removing their pubic hair? There isn't enough evidence to make such an extreme recommendation. If the aesthetic choice of pubic hair removal appeals to you, then it should be fine to proceed - with caution. However, it's probably just common sense to avoid shaving immediately before you have sex. It's also not a bad idea to stop and think about what your hair removal techniques are doing to your health. If every time you shave you end up itchy and uncomfortable from ingrown hairs and skin infections, it might make sense to go another route.