Swallowing a mosquito isn't usually a cause for concern; your body will likely digest it like any other food.
According to Dr. Pritt, "eating a bug isn't cause for worry". In general, your body will digest arthropods, which include insects such as mosquitoes, "just like any other food".
In summary, accidentally swallowing a mosquito is generally harmless.