For some people, it may take only a few months; for others, it may take years to master the trumpet. But if you practice diligently and regularly— say, 30 minutes at least five days per week— then you should be able to play full-length (albeit simple) songs within three months.