Yeast infection!!

I have a really bad infection. My vaginas swollen and red and itchy but so sore and there's yellow/green chunky discharge that smells. I don't want to have to go to the doctors for this is there any home remedies? Last time I had this problem it went away on its own after about a week and a half. It's really annoying and painful and has prevented me and my boyfriend from having sex. I've had this problem for a week now but the discharge only started 2 days ago and masturbating only just because too painful last night.