how to clean yourself after sex?

after sex how do i clean myself down there? ive been told that having sex can mess up my ph balance. is there a way to restore your ph balance? because its been causing me to have infections, even when i pee afterwards.