How can I walk if my right pelvic bone is broken? Will I be able to stand straight?

Depends. If it is a simple non-displaced fracture, proper pain management, supervised physical therapy should lead to almost what the baseline ambulation status was prior to the fracture..