I’m sorry but this is just not real.
There’s not a single non-quack doctor who will recommend psychiatric medication for “social media addiction,” which is not a real thing and pretty much all of the recent academic literature proves as much.
If your doctor is suggesting medication for social media use, you either have much deeper underlying mental health issues, or you need to find a new doctor ASAP and report them for malpractice.