I have always been unfit but as I want to learn a martial art, I am trying to get into shape. However, I can't even do a push-up and so my friend recommended me to hold the 'up' position for 30 seconds to build up core strength.

My question is, how many reps and sets should and do and how long should i rest between sets?

Thanks