Surgery can be an invasive, expensive and painful treatment option so the decision to have surgery should not be taken lightly. If you have recently started getting shoulder pain it is strongly advised for you to see your local health practitioner (physiotherapist are regarded as the best and most accessible 1st option for diagnosis, and management/treatment options).
Your local health practitioner will assess your symptoms, mechanism/trauma of injury and all other factors that need to be assessed in helping you make the most informed decision on your best line of treatment options. GP’s are a fantastic resource, but they are GENERAL Practitioners and their most likely treatment options will be to get imaging (which initially may seem helpful but won’t help improve your function/pain etc), recommend a specialist (which can be more expensive and may end up recommending physiotherapy anyway!) or to perform a cortisone injection which has not been shown to always help with most conditions.
An experienced physiotherapist will be able to gauge how severe and how likely your injury is going to need surgery/injection or imaging within the first couple of sessions and reduce unnecessary imaging, injections and specialist referrals. A large majority of shoulder injuries will respond very well with a 8-12 weeks graded exercise program without the need of injections, imaging or surgery!