Your tamagotchi has to be an ADULT to be able to use the costume.
To put it on, go to the ITEMS list and select costume. You cannot take it off until your tama has gone to sleep. If you want to get it off sooner, set the time to your tama's sleeping time and then set it back.