Im in painnn😭😭😭

Every time after my so and I have sex im in severe pain.. My vagina hurts so bad I want to cry and I can barely walk for the next like hour and a half and it burns so bad when I pee I want to pass out omg . I just went to the doctor a few days ago and she said I had a yeast infection but I took the one pill that they give you for that a day ago and im guessing it hasnt done anything.. Please help, what do I do...? Its killing me..