Possible infection

How can I possibly get rid of an infection. It’s affecting sex and period.(other then going to the doctors)