Apollo needs help

My Great Dane had his front left leg amputated because of cancer 2 weeks ago.

He is struggling. He doesn’t want to get off his orthopedic bed. He refuses to go outside and he pees and poops in the house. I give him meds prescribed but don’t know if I am giving the right amount. He does eat, if I bring the food to him. I need help