You need both, first you need to apply SEO correctly and then you need to pay for advertising to promote your store or service and reach a greater number of people, but if you first apply good SEO correctly, paid advertising will make your SEO take off much faster in addition to positioning yourself better due to the traffic you will obtain.