is there anything a man can take to avoid getting a STD after unsafe sex