Using IMCI guidelines, you classify a child as having severe pneumonia. What is the best management for the child?