Using mouthwash is a great idea as it can help to prevent tooth decay, particularly if it contains fluoride.
You should not, however, use mouthwash straight after brushing your teeth, as it will wash away the concentrated fluoride left behind after brushing your teeth.
You should also avoid eating or drinking for at least 30 minutes after using a fluoride mouthwash.