Here's a tip to help you.
You have to match the colours of the pill AND the matching colours of the viruses (ex) match the red pills to kill the red viruses, the yellow pills kill the yellow viruses, and lastly, the blue pills kill the blue viruses.
Good luck! You're gonna need it.