I will add the same advice just hang in there and enventually you will not get dropped. Also listen to the advice about riding smarter this makes a big difference. I know when I started I would find myself on the front right before the sprint zone, then everyone would take off and I would be gassed from pulling and have a hard time grabbing the tail, next rides I made sure I was off the front and rested before the sprint. Take short pulls or just rotate through if your getting tired, no one will mind and it is better than trying to pull too long and dropping the group pace because you are tired.
No hill advice from me.