Default Flash

my htc desire is stucked on startup screen shows only o2 in blue can anyone tell me how to flash my htc desire and from where can i get software to flash it ?