You use a preprint/ open access publication hybrid such as Wellcome Open (for those funded by the Wellcome Trust), PeerJ or F1000. In this case the preprint cannot be submitted anywhere else and will undergo peer review on these websites. Note that they use open peer review (i.e. reviews and your responses can be seen by anyone). As soon as your manuscript receives two reviews that approve it, it will be indexed on pubmed.