I am 38 weeks pregnant and when I wiped my self I saw brown discharge on the toilet paper?

Bloody show. It is not unusual to have some blood when your mucus plug is discharged. On the other hand. It could also be some bleeding from an exam or even sex. As long as you have no pain and your baby is active, keep an eye on it and if increases proceed directly to the hospital.