Adding validations to devise signup form

Hi,
How to add validations to devise signup form,any help will be
appreciated,thanks in advance.