Working out with soreness

I’m new to this and just started working out yesterday. I did some cardio with push ups and squats. My legs and arms are sore today. Can’t I still workout or do I need to rest? I was wanting to workout at least 4-5 times this week. Should I just push through or is that bad?