Please help. TMI

When me and My Boyfriend have sex it hurt as soon as hes in it feels like I'm raw even tho we havent has sex in 3 weeks bc i recently had severe cramps and was scared bc i didnt want to have the pain again.  I feel so bad bc i know he wants it i do too but it hurts so much , like there is no pleasure at all. And I'm always having excessive discharge and it always smells no matter how much i wash. Does this sound like a yeast infection.?