Ok so dont panic you havent gained anything you know what you have to do. If you need carbs which all carbs are not bad for you eat them withen one hour after you work out. the rule is no workout that day no carbs get a good hard workout in you can have some arbs but you only have that hour window . Dont beat yourself up over this you can get back on track, good luck to you.