So you mean you had surgery because of a dislocated shoulder? If you still feel the pain, the best way to re-adjust your shoulders is to slowly introduce activity to it. Some simple range of motion exercises and strengthening exercises will greatly help.
Recovery period varies. That depends on how your body heals. I don't think burping has something to do with it lol. To help hasten recovery, you can do some simple stretches and range of motion exercises. These are exercises that don't demand force but only techniques that will help restore shoulder mobility.