How to get rid of UTI?

I've recently been experiencing a little burning when I pee and it hurts to wipe. Are there at home remedies? And how long will it take to go away?