How to avoid fast food?

So I'm really trying to lose weight. So far I've lost 20lbs in about two months. I work out at least four days a week sometime twice a day. I'm not really a sweet eater or into snacking. My weakness is fast food though. I'll tell myself I don't need, but the cravings get so bad that I can't take it and go eat. Then I feel awful and regretful after I do and I promise myself I won't do it again, but that only lasts for a few days. I'll do really good for a week or two where I won't eat any fast food, but then I'll drift off and eat fast food for at least one meal almost every day. Does anyone have any tips or ways to control this and not let it happen? I'm really trying, but when I get the cravings is when I lose it.
How to avoid fast food?
Post Opinion