Since yesterday my puppy has been feeling bad. Idk what is it

but i feel bad for him. Can't take him to the vet because i haven't gotten paid yet.
He has what looks like an ear infection on his left ear, he has black things inside his ears so i am using Remicin ear Ointment the vet had prescribed to him a while back.
He had diarrhea this morning also but i think it might have been some cookies i gave him yesterday(mini Nilla).
He has also been scratching everywhere! Idk if he has an allergic reaction or something else..i have been putting benadril but he keeps licking it off.
let me know what you guys think here's a picture...(u barely can tell but just below his belly u see red) He also has some on his neck