Once you are into your solo, you are largely on your own, although you should listen to what everyone else is doing around you, feeding off what they are playing, and leading them with your own playing. This is your chance to apply the techniques you have learned so far. I have said several times that a solo should tell a story. This means it should have a clear exposition, development, climax, and release. If you were to chart the intensity level of a good solo, you would often find that it starts at a low level and slowly builds to a climax, after which it tapers off quickly to lead into the next soloist or whatever else comes next.
Beginners often have difficulty deciding how many choruses to play.
This is something that varies for each performer. Charlie Parker normally took only one or two in recordings, although this was partially because of the limitations of the 78 RPM format. John Coltrane often took dozens of choruses, particularly in live performances. When there are many soloists, you probably should try to keep it on the short side, to keep everyone else from getting bored. In any case, when you are approaching the end of your solo, you should somehow convey this fact to the other musicians so they can decide who goes next, or whether they want to trade fours, or take the head out.