ANSWER:
You are ordered to do whatever Allah orders you to do! When you pray 5 times a day, who told you that all of your prayers are accepted? Without these prayers being offered in the correct manner with the right concentrations and submissiveness, you won’t benefit from it that much and it won’t keep you away from sins as the millions of Muslims who pray out of habit and culture don’t succeed in refraining from sins.