6 month old sunburn....

My 6 month old got sunburn today, I feel soooo bad!  I'm a first time mom, so I don't really know what to do for her! I put this aloe gel on her, is that ok?? And any suggestions what else I can do??