Small bumps on shaft of penis

shaved before having sex with a girl. these bumps appeared after. are these genital warts?

No, those might be ingrown hairs. There are 2 options: they will go away shortly or if they stay there for a long time might be fordyce spots