% Tucking
This is called tucking. You can construct or purchase a gaff or use tape.
If you're using tape, then put your testicles into your body (push them into it, into your inguinal canals) and hold your penis down and through your legs, so that it points away from you to your rear. Then tape it down. You should cleanly shave your entire genital area before using tape. TODO: find a good brand/make/type of tape.
For comfort (and safety, and convenience) we recommend using a gaff.
There are plenty of guides out there on the internet for tucking. Use Google and/or Youtube (or maybe other sites) to find what sort of technique you want to use.
You can also use 2 or 3 pairs of tight knickers/panties.
To remove your penis, see read this page.