cranberry juice ?

how much of cranberry juice do i have to drink for a uti ? it starts burning slightly when im having sex & whenever i pee could be after sex or hours ... but the first pee after sex burns soo bad .... after that it doesnt burn again...... what vould this be ?