Are you using condoms? Any chance you're allergic to latex? If you aren't using condoms, he might have given you an infection. (If you aren't, what protection are you using?)
Just like Annie said if your using condoms you could be allergic to latex but it could also be lack of lubrication if the area is dry it will cause shafing even without the condom BUT never rule out std or infection you should talk to your doctor
Yellowish-brownish discharge is NOT normal. See a doc.