What you usually mean is: you paid someone to do SEO, didn't see results in 3 months, and stopped.
SEO "not working" is almost always one of three things - wrong keywords being targeted, technical issues that weren't fixed, or content that doesn't match search intent. Before writing off SEO...