Hello its ok to get married if u really think ur both ready,but with the rules for spouse visa u have to prove to the home office that u have been married or living together for 2 years.If ur in different country,u should give proofs of your communication its very important all the chat messages all the phone cards he used pictures are very important too,i mean photos of u together,u can try and apply as soon as u got married but i doubt if ur application will be approve as home office might think its a sham marriage..good luck on everything..