Don't know if this is in the right section, my bad if it isn't.

Since I can remember, during the middle of the night while I toss and turn and while I awake in the morning, I always notice that I'd been sleeping on my erect dick somewhat and sometimes it hurts.

Is there any bad side effect's to this?