I had this surgery and it’s no fun!
I suggest working the shoulder joint, pain free, fullest ROM possible
I would not do any “overhead” presses or straight arm raises.
Foam rolling is great as is shoulder retraction work.
Of course, following PT’s guidelines is always essential!